We need a better path for the init scripts to work
authorStephen Gran <steve@lobefin.net>
Tue, 24 Feb 2009 15:19:30 +0000 (15:19 +0000)
committerStephen Gran <steve@lobefin.net>
Tue, 24 Feb 2009 15:19:30 +0000 (15:19 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/manifests/init.pp
modules/munin-node/manifests/init.pp
modules/samhain/manifests/init.pp

index 152a12a..c1bd001 100644 (file)
@@ -113,7 +113,7 @@ class exim {
     }
 
     exec { "exim4 reload":
-        path        => "/etc/init.d/",
+        path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
 }
index 7f1c107..f0fff2a 100644 (file)
@@ -13,7 +13,7 @@ class munin-node {
     }
 
     exec { "munin-node restart":
-        path        => "/etc/init.d/",
+        path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
 }
index 5a56fbe..0398f56 100644 (file)
@@ -12,7 +12,7 @@ class samhain {
     }
 
     exec { "samhain reload":
-        path        => "/etc/init.d/",
+        path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
 }