diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/system.pp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/manifests/system.pp b/manifests/system.pp index 4a47420..8461ebd 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -11,10 +11,22 @@ class mail::system( smtp_listen => "all", use_amavisd => "yes", use_dovecot_lda => "yes", - use_schleuder => "yes", - use_sympa => "yes", - use_mlmmj => "yes", - use_firma => "yes", + use_schleuder => hiera('mail::schleuder', false) ? { + true => "yes", + default => "no", + }, + use_sympa => hiera('mail::sympa', false) ? { + true => "yes", + default => "no", + }, + use_mlmmj => hiera('mail::mlmmj', false) ? { + true => "yes", + default => "no", + }, + use_firma => hiera('mail::firma', false) ? { + true => "yes", + default => "no", + }, use_gpg_mailgate => hiera('mail::gpg_mailgate', false) ? { true => "yes", default => "no", |