source: src/puppetcode/environments/test/modules/gnuboat_epd/manifests/service.pp@ 8c27e83

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since 8c27e83 was 1c22429, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago
  • gnuboat_epd adds the apt repository from gnuboat to install epd-fuse package
  • Property mode set to 100644
File size: 501 bytes
Line 
1class gnuboat_epd::service
2(
3 Enum['running', 'stopped'] $status = 'running',
4 Boolean $enabled = true,
5 String $display_size = '2.7'
6)
7inherits gnuboat_epd
8{
9 service{'epd-fuse':
10 ensure => $status,
11 enable => $enabled,
12 subscribe => Package['epd-fuse'],
13 }
14
15
16 file{'/etc/default/epd-fuse':
17 ensure => present,
18 owner => 'root',
19 group => 'root',
20 mode => '0600',
21 notify => Service['epd-fuse'],
22 content => epp('gnuboat_epd/epd-fuse.epp',
23 {
24 'display_size' => $display_size,
25 }),
26 }
27}
Note: See TracBrowser for help on using the repository browser.