Add path to postfix::config exec command to avoid failure (#3807)
This commit is contained in:
parent
5c39570cd6
commit
bc0d56603e
1 changed files with 1 additions and 0 deletions
|
@ -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"],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue