Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/customservice/manifests/init.pp

Issue 6155422901731328: Run Rietveld using the AppEngine SDK (Closed)
Patch Set: Created June 2, 2015, 8:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 define discourse::customservice( 1 define customservice(
2 $command, 2 $command,
3 $user, 3 $user,
4 $env = [], 4 $env = [],
5 $workdir = undef 5 $workdir = undef
6 ) { 6 ) {
7 file {"/etc/init.d/$name": 7 file {"/etc/init.d/$name":
8 ensure => present, 8 ensure => present,
9 owner => root, 9 owner => root,
10 group => root, 10 group => root,
11 mode => '0755', 11 mode => '0755',
12 content => template('discourse/init-customservice.erb'), 12 content => template('customservice/init-customservice.erb'),
13 notify => Service["$name"] 13 notify => Service["$name"]
14 } 14 }
15 15
16 service {$name: 16 service {$name:
17 ensure => running, 17 ensure => running,
18 hasstatus => true, 18 hasstatus => true,
19 enable => true, 19 enable => true,
20 require => File["/etc/init.d/$name"] 20 require => File["/etc/init.d/$name"]
21 } 21 }
22 } 22 }
OLDNEW
« no previous file with comments | « no previous file | modules/customservice/templates/init-customservice.erb » ('j') | modules/rietveld/files/wrapper.py » ('J')

Powered by Google App Engine
This is Rietveld