summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ab03534..768191f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -105,7 +105,15 @@ class nginx::base {
class nginx inherits nginx::base {
case $ssl {
true: {
- include ssl::proxy
+ include ssl
+
+ ssl::cert { "cert":
+ notify => Service['nginx'],
+ }
+
+ ssl::check { "$domain":
+ file => true,
+ }
Service["nginx"] {
require => [ Package["nginx"],