diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-12 22:42:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-12 22:42:28 -0300 |
commit | bc0d56603ec320b4a287c2da4294117af3931589 (patch) | |
tree | 59bf7f90dfc7297362fbe4070ee936404b9903bc | |
parent | 5c39570cd64fecb768a82a04942fa34b6c083273 (diff) | |
download | puppet-postfix-bc0d56603ec320b4a287c2da4294117af3931589.tar.gz puppet-postfix-bc0d56603ec320b4a287c2da4294117af3931589.tar.bz2 |
Add path to postfix::config exec command to avoid failure (#3807)
-rw-r--r-- | manifests/config.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index 8e203a6..7b27053 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -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"], } |