| Index: modules/web/manifests/server.pp |
| =================================================================== |
| --- a/modules/web/manifests/server.pp |
| +++ b/modules/web/manifests/server.pp |
| @@ -8,10 +8,17 @@ |
| $custom_config = undef, |
| $multiplexer_locations = undef, |
| $geoip = false, |
| + $formmail = hiera('web::server::formmail', undef), |
| ) { |
| include sitescripts |
| + if $formmail != undef { |
| + ensure_resource('file', 'formmail', merge({ |
| + ensure => absent, |
|
mathias
2017/05/16 20:59:48
Do you really think ensure => "absent" is a reason
|
| + }, $formmail)) |
| + } |
| + |
| $PYTHONPATH = 'PYTHONPATH=/opt/cms:/opt/sitescripts' |
| # Ensure there is at least one character in the respective strings; |