diff options
author | Gabriel Filion <gabster@lelutin.ca> | 2017-03-10 18:19:04 -0500 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2017-03-10 18:19:36 -0500 |
commit | 425ad79683e59603f83e6484a2e32804273d4339 (patch) | |
tree | 5a911e12ac258cdeb47c520687e4c3b2ae2716cf /README.md | |
parent | cebe42c1bcf7ebfbb989c1b6a7d416d98c947e64 (diff) |
implement ensure absent for postfix::config
This does not have a special case for "non-standard" settings, since I
don't know whether it is needed or not.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 ---------------- |