Ignore:
Timestamp:
Jul 21, 2016, 7:16:46 PM (10 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
2925c4a
Parents:
09adf3e
Message:

Implemented gnuboat_gnuboat puppet module to install and configure gnuboat-server and gnuboat-webclient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/puppetcode/environments/test/modules/gnuboat_gnuboat/manifests/install.pp

    r09adf3e rb5208ff  
    11class gnuboat_gnuboat::install() inherits gnuboat_gnuboat
    22{
    3         package{'php5-rrd':
    4                 ensure => $version,
    5                 notify => Service['lighttpd'],
    6         }
     3        include apt
     4
     5#        apt::source{'gnuboatapt':
     6#                comment => 'This is the raspbian repository for GNUBoat',
     7#                location => 'http://ftp.engsas.de/unstable/gnuboat/',
     8#                release => 'jessie',
     9#                repos => 'main',
     10#                pin => '-10',
     11#                include => {
     12#                        'src' => true,
     13#                        'deb' => true,
     14#                },
     15#        }
     16
     17        if $server {
     18                package{'gnuboat-server':
     19                        ensure => $version,
     20                        notify => Service['gnuboat'],
     21                        require => Apt::Source['gnuboatapt'],
     22                }
     23        }
     24
     25        if $webclient {
     26                package{'gnuboat-webclient':
     27                        ensure => $version,
     28                        require => Apt::Source['gnuboatapt'],
     29                }
     30        }
    731}
Note: See TracChangeset for help on using the changeset viewer.