Changeset 2e0a90f
- Timestamp:
- Jul 20, 2016, 2:59:55 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- a250eb4
- Parents:
- 8c27e83
- Location:
- src/puppetcode/environments/test
- Files:
-
- 1 added
- 3 edited
-
hieradata/common.yaml (modified) (1 diff)
-
modules/gnuboat_epd/manifests/service.pp (modified) (3 diffs)
-
modules/gnuboat_epd/templates/epd-fuse.epp (modified) (1 diff)
-
modules/gnuboat_epd/templates/epd-fuse.service.epp (added)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/test/hieradata/common.yaml
r8c27e83 r2e0a90f 10 10 gnuboat_epd::service::enabled: true 11 11 gnuboat_epd::service::display_size: '2.7' 12 gnuboat_epd::service::exec_start_post: '/usr/bin/gnuboat-welcome' 13 gnuboat_epd::service::exec_stop_pre: '/usr/bin/gnuboat-goodby' 12 14 gnuboat_epd::install::panel: 'v230-g2' 13 15 gnuboat_gpsd::service::status: 'running' -
src/puppetcode/environments/test/modules/gnuboat_epd/manifests/service.pp
r8c27e83 r2e0a90f 3 3 Enum['running', 'stopped'] $status = 'running', 4 4 Boolean $enabled = true, 5 String $options = '-o allow_other -o default_permissions' 6 String $mount_point = '/dev/epp', 5 7 String $display_size = '2.7' 8 String $exec_start_post = '', # Could be set to a script to display a welcome screen, after starting epd-fuse service 9 String $exec_stop_pre = '', # Could be set to a script to display a good by screen, before stopping epd-fuse service 6 10 ) 7 11 inherits gnuboat_epd … … 14 18 15 19 16 file{'/etc/default/epd-fuse': 20 # Only needed by initd script, which is not supported by the debian package right now 21 # file{'/etc/default/epd-fuse': 22 # ensure => present, 23 # owner => 'root', 24 # group => 'root', 25 # mode => '0600', 26 # notify => Service['epd-fuse'], 27 # content => epp('gnuboat_epd/epd-fuse.epp', 28 # { 29 # 'display_size' => $display_size, 30 # }), 31 # } 32 33 file{'/etc/systemd/system/epd-fuse.service/local.conf': 17 34 ensure => present, 18 35 owner => 'root', … … 20 37 mode => '0600', 21 38 notify => Service['epd-fuse'], 22 content => epp('gnuboat_epd/epd-fuse. epp',39 content => epp('gnuboat_epd/epd-fuse.service.epp', 23 40 { 41 'options' => $options, 42 'mount_point' => $mount_point, 24 43 'display_size' => $display_size, 44 'exec_start_post' => $exec_start_post, 45 'exec_stop_pre' => $exec_stop_pre, 25 46 }), 26 47 } -
src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp
r8c27e83 r2e0a90f 1 1 # Options to pass to epd_fuse 2 #EPD_MOUNTPOINT= /dev/epd2 #EPD_MOUNTPOINT=<%= $mount_point %> 3 3 EPD_SIZE=<%= display_size %> 4 EPD_OPTS= '-o allow_other -o default_permissions'4 EPD_OPTS=<%= $options %>
Note:
See TracChangeset
for help on using the changeset viewer.
