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: Addressed comments and added caching Created June 4, 2015, 9:19 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"]

Powered by Google App Engine
This is Rietveld