summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-04 19:59:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-04 19:59:44 -0300
commit14b806694588c430f4e24ef955c09fe763c4dc5d (patch)
treed78563b477b66c3ed3a4db0b26fc915eec19b0ca
parent2a5feff1c6b3cd266bf8e8d6687f67f3cb9811dc (diff)
downloadpuppet-mail-14b806694588c430f4e24ef955c09fe763c4dc5d.tar.gz
puppet-mail-14b806694588c430f4e24ef955c09fe763c4dc5d.tar.bz2
Enabling gpg-mailgate
-rw-r--r--manifests/system.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index 4e61fb2..5323fc6 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -15,6 +15,7 @@ class mail::system(
use_sympa => "yes",
use_mlmmj => "yes",
use_firma => "yes",
+ use_gpg_mailgate => "yes",
use_submission => "yes",
use_smtps => "no",
anon_sasl => "yes",
@@ -90,6 +91,13 @@ class mail::system(
}
}
+ # GPG Mail Gateway
+ case hiera('mail::gpg_mailgate', false) {
+ true: {
+ class { 'mail::gpg_mailgate': }
+ }
+ }
+
case $relay_domains {
'': { $real_relay_domains = "${mydestination}${sympa_relay_domains}${schleuder_relay_domains}${mlmmj_relay_domains}${firma_relay_domains}" }
}