summaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index ce7af9e..a1eb651 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -43,7 +43,9 @@ define postfix::config ($ensure = present, $value, $nonstandard = false) {
}
absent: {
- fail "postfix::config ensure => absent: Not implemented"
+ exec { "postconf -X ${name}":
+ unless => "test \"x$(postconf -n ${name})\" = \"x\"",
+ }
}
}
}