From 0a66e40f2f1ce012f9b3101c63423852175365a0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 28 Nov 2011 23:38:30 -0200 Subject: Using ssl::cert to define certificates --- manifests/system.pp | 2 +- manifests/tls.pp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'manifests') 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, -- cgit v1.2.3