From 48affeddf6b343452e44cacd7b0d97295ba79a7b Mon Sep 17 00:00:00 2001 From: Keith aka fugit Date: Fri, 22 Apr 2011 10:50:27 -0400 Subject: Fix the notify call for puppet service so it will work with passenger --- manifests/puppetmaster/linux.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/puppetmaster/linux.pp') diff --git a/manifests/puppetmaster/linux.pp b/manifests/puppetmaster/linux.pp index 2670203..a5098cd 100644 --- a/manifests/puppetmaster/linux.pp +++ b/manifests/puppetmaster/linux.pp @@ -11,8 +11,8 @@ class puppet::puppetmaster::linux inherits puppet::linux { enable => true, require => [ Package[puppet] ], } - } - Service[puppet]{ - require +> Service[puppetmaster], + Service[puppet]{ + require +> Service[puppetmaster], + } } } -- cgit v1.2.3 From 2a83aea970a8348fedeee2109d6d530a7e73a39b Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 16 Jul 2012 14:17:08 -0400 Subject: we must fully qualify paths to execs --- manifests/puppetmaster/linux.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/puppetmaster/linux.pp') diff --git a/manifests/puppetmaster/linux.pp b/manifests/puppetmaster/linux.pp index a5098cd..ebf183b 100644 --- a/manifests/puppetmaster/linux.pp +++ b/manifests/puppetmaster/linux.pp @@ -3,7 +3,7 @@ class puppet::puppetmaster::linux inherits puppet::linux { if $puppetmaster_mode == 'passenger' { exec { 'notify_passenger_puppetmaster': refreshonly => true, - command => 'touch /etc/puppet/rack/tmp/restart.txt && sleep 1 && rm /etc/puppet/rack/tmp/restart.txt', + command => '/usr/bin/touch /etc/puppet/rack/tmp/restart.txt && sleep 1 && /bin/rm /etc/puppet/rack/tmp/restart.txt', } } else { service { 'puppetmaster': -- cgit v1.2.3