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

Unified Diff: modules/customservice/manifests/init.pp

Issue 6155422901731328: Run Rietveld using the AppEngine SDK (Closed)
Patch Set: Added missing file and a comment Created June 3, 2015, 4:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/customservice/manifests/init.pp
===================================================================
rename from modules/discourse/manifests/customservice.pp
rename to modules/customservice/manifests/init.pp
--- a/modules/discourse/manifests/customservice.pp
+++ b/modules/customservice/manifests/init.pp
@@ -1,20 +1,20 @@
-define discourse::customservice(
+define customservice(
$command,
$user,
$env = [],
$workdir = undef
) {
file {"/etc/init.d/$name":
ensure => present,
owner => root,
group => root,
mode => '0755',
- content => template('discourse/init-customservice.erb'),
+ content => template('customservice/init-customservice.erb'),
notify => Service["$name"]
}
service {$name:
ensure => running,
hasstatus => true,
enable => true,
require => File["/etc/init.d/$name"]
« no previous file with comments | « no previous file | modules/customservice/templates/init-customservice.erb » ('j') | modules/discourse/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld