aboutsummaryrefslogtreecommitdiff
path: root/manifests/definitions/config.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-20 10:40:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-20 10:40:37 -0300
commit9c350efb31084cd0b39f52ec0d84d3b949a41f21 (patch)
tree8e8a64e8bf99a40549acff928a752f2449f9fb39 /manifests/definitions/config.pp
parenta5c262bbb1cfb95c5bcb7c59bccb6736dcc17214 (diff)
parentd374575bfb9f6ebe55af1ffac537e7ccd0f484a9 (diff)
downloadpuppet-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.pp4
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"],