summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/system.pp2
-rw-r--r--manifests/tls.pp7
2 files changed, 8 insertions, 1 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index ac39929..f9cd31b 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -18,7 +18,7 @@ class mail::system {
# Module requirements
include postfix
- include ssl::mail
+ include ssl
# Common subsystems
include mail::packages
diff --git a/manifests/tls.pp b/manifests/tls.pp
index 291e82c..0f63a56 100644
--- a/manifests/tls.pp
+++ b/manifests/tls.pp
@@ -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,