]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Enabling gpg-mailgate
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 4 Aug 2013 22:59:44 +0000 (19:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 4 Aug 2013 22:59:44 +0000 (19:59 -0300)
manifests/system.pp

index 4e61fb2ba0e9d3961ced046bf1c9035da0d29803..5323fc6bdb6f3c7e502d8066e32ac7497938103c 100644 (file)
@@ -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}" }
   }