Changeset b5208ff
- Timestamp:
- Jul 21, 2016, 7:16:46 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 2925c4a
- Parents:
- 09adf3e
- Location:
- src/puppetcode/environments/test
- Files:
-
- 3 added
- 3 edited
-
hieradata/common.yaml (modified) (2 diffs)
-
modules/gnuboat_gnuboat/manifests/config.pp (added)
-
modules/gnuboat_gnuboat/manifests/init.pp (modified) (1 diff)
-
modules/gnuboat_gnuboat/manifests/install.pp (modified) (1 diff)
-
modules/gnuboat_gnuboat/manifests/service.pp (added)
-
modules/gnuboat_gnuboat/templates/lighttpd.conf.epp (added)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/test/hieradata/common.yaml
r09adf3e rb5208ff 6 6 - gnuboat_gnuboat 7 7 8 gnuboat_lighttpd::s tatus: 'running'9 gnuboat_lighttpd:: enabled: true8 gnuboat_lighttpd::servuce::status: 'running' 9 gnuboat_lighttpd::service::enabled: true 10 10 gnuboat_epd::service::status: 'running' 11 11 gnuboat_epd::service::enabled: true … … 17 17 gnuboat_gpsd::service::enabled: true 18 18 gnuboat_gpsd::service::devices: '/dev/ttyACM0' 19 gnuboat_gnuboat::service::status: 'running' 20 gnuboat_gnuboat::service::enabled: true 21 gnuboat_gnuboat::server: true 22 gnuboat_gnuboat::webclient: true -
src/puppetcode/environments/test/modules/gnuboat_gnuboat/manifests/init.pp
r09adf3e rb5208ff 1 class gnuboat_gnuboat() 1 class gnuboat_gnuboat 2 ( 3 Boolean $server = true, 4 Boolean $webclient = true, 5 ) 2 6 { 3 contain gnuboat_gnuboat::install4 # contain gnuboat_lighttpd::config5 # contain gnuboat_lighttpd::service7 contain gnuboat_gnuboat::install 8 contain gnuboat_gnuboat::config 9 contain gnuboat_gnuboat::service 6 10 7 # Class['gnuboat_gnuboat::install'] 8 # Class['gnuboat_lighttpd::config'] ->9 # Class['gnuboat_lighttpd::service']11 Class['gnuboat_gnuboat::install'] -> 12 Class['gnuboat_gnuboat::config'] -> 13 Class['gnuboat_gnuboat::service'] 10 14 } -
src/puppetcode/environments/test/modules/gnuboat_gnuboat/manifests/install.pp
r09adf3e rb5208ff 1 1 class gnuboat_gnuboat::install() inherits gnuboat_gnuboat 2 2 { 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 } 7 31 }
Note:
See TracChangeset
for help on using the changeset viewer.
