summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2018-11-06 18:43:45 +0100
committerkwadronaut <kwadronaut@leap.se>2018-11-06 18:44:28 +0100
commite14722271a7700945874b72daed79240fbadaa4a (patch)
treef8edee79945fcd2d93d624878579725f12258d33 /README.md
parent6550524550debe1eaadf99e8adb7c568ae8797b1 (diff)
parent6743a08b90a118130edd3e59449c5b389fb1796e (diff)
Merge remote-tracking branch 'shared/master'
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7a6b01f..c7646a9 100644
--- a/README.md
+++ b/README.md
@@ -122,9 +122,13 @@ Convience classes
postfix::config
---------------
-this can be used to pass arbitrary postfix configurations by passing the $name
+This can be used to pass arbitrary postfix configurations by passing the $name
to postconf to add/alter/remove options in main.cf
+It can also be used to ensure that a certain configuration is not present by
+setting the ensure parameter to absent. In this case, the value parameter is
+still mandatory but can be set to whatever value.
+
Parameters:
- *name*: name of the parameter.
- *ensure*: present/absent. defaults to present.
@@ -144,6 +148,11 @@ Example usage:
"relayhost" => "[mail.example.com]:587";
}
+ postfix::config { 'smtp_tls_cert_file':
+ ensure => absent,
+ value => '',
+ }
+
postfix::disable
----------------