diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-20 10:40:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-20 10:40:37 -0300 |
commit | 9c350efb31084cd0b39f52ec0d84d3b949a41f21 (patch) | |
tree | 8e8a64e8bf99a40549acff928a752f2449f9fb39 /manifests/definitions/config.pp | |
parent | a5c262bbb1cfb95c5bcb7c59bccb6736dcc17214 (diff) | |
parent | d374575bfb9f6ebe55af1ffac537e7ccd0f484a9 (diff) | |
download | puppet-postfix-9c350efb31084cd0b39f52ec0d84d3b949a41f21.tar.gz puppet-postfix-9c350efb31084cd0b39f52ec0d84d3b949a41f21.tar.bz2 |
Merge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix into reviewreview
Diffstat (limited to 'manifests/definitions/config.pp')
-rw-r--r-- | manifests/definitions/config.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/definitions/config.pp b/manifests/definitions/config.pp index aaf73b5..8e203a6 100644 --- a/manifests/definitions/config.pp +++ b/manifests/definitions/config.pp @@ -34,8 +34,8 @@ define postfix::config ($ensure = present, $value, $nonstandard = false) { present: { exec {"postconf -e ${name}='${value}'": unless => $nonstandard ? { - 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}'", + 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}'", }, notify => Service["postfix"], require => File["/etc/postfix/main.cf"], |