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 proper configuration Created June 3, 2015, 3:31 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
« no previous file with comments | « no previous file | modules/customservice/templates/init-customservice.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld