From bc0d56603ec320b4a287c2da4294117af3931589 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 Apr 2012 22:42:28 -0300 Subject: Add path to postfix::config exec command to avoid failure (#3807) --- manifests/config.pp | 1 + 1 file changed, 1 insertion(+) 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"], } -- cgit v1.2.3