]> gitweb.fluxo.info Git - puppet-postfix.git/commitdiff
Add path to postfix::config exec command to avoid failure (#3807)
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 13 Apr 2012 01:42:28 +0000 (22:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 13 Apr 2012 01:42:28 +0000 (22:42 -0300)
manifests/config.pp

index 8e203a666f78a0c2f2a08b337ce83292807673d1..7b27053d83a81272bba2b07c67a49d6c96b352ff 100644 (file)
@@ -37,6 +37,7 @@ define postfix::config ($ensure = present, $value, $nonstandard = false) {
           false => "test \"x$(postconf -h ${name})\" = 'x${value}'",
           true  => "test \"x$(egrep '^${name} ' /etc/postfix/main.cf | cut -d= -f2 | cut -d' ' -f2)\" = 'x${value}'",
         },
+        path => "/usr/bin:/usr/sbin/:/bin:/sbin",
         notify  => Service["postfix"],
         require => File["/etc/postfix/main.cf"],
       }