aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 13 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f5f007a..93f2693 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -26,7 +26,18 @@ class ssl {
class ssl::mail inherits ssl {
File['/etc/ssl/private/cert.pem'] {
- group => postfix,
- mode => 0640,
+ group => postfix,
+ mode => 0640,
+ notify => Service['postfix'],
+ }
+
+ File['/etc/ssl/certs/cert.crt'] {
+ notify => Service['postfix'],
+ }
+}
+
+class ssl::proxy inherits ssl {
+ File['/etc/ssl/certs/cert.crt', '/etc/ssl/private/cert.pem'] {
+ notify => Service['nginx'],
}
}