]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Using ssl::cert to define certificates
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 01:38:30 +0000 (23:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 01:38:30 +0000 (23:38 -0200)
manifests/system.pp
manifests/tls.pp

index ac399294598ed046e6e9c375f3751d28f6270fa4..f9cd31b2c94525ad03b62fa6d100e48c615e6349 100644 (file)
@@ -18,7 +18,7 @@ class mail::system {
 
   # Module requirements
   include postfix
-  include ssl::mail
+  include ssl
 
   # Common subsystems
   include mail::packages
index 291e82c15919bf6ebb46f9a68b96d097baac83b7..0f63a566f5804dba80e9cafb203cc9b475528a30 100644 (file)
@@ -10,6 +10,13 @@ class mail::tls {
   # TLS Policy
   include postfix::tlspolicy
 
+  # SSL certificate
+  ssl::cert { "cert":
+    group    => 'postfix',
+    privmode => '0640',
+    notify   => Service['postfix'],
+  }
+
   # Check SSL certificate
   ssl::check { "$domain":
     file => true,