summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-28 23:38:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-28 23:38:20 -0200
commita67192152d4f4f2e588da132f219793fb9a9aedb (patch)
tree9f756d9d40f28181972b2fe47e623c58ea1d39fd
parent7e6831c36b4316b01204000d66de9cf5adf566ad (diff)
downloadpuppet-nginx-a67192152d4f4f2e588da132f219793fb9a9aedb.tar.gz
puppet-nginx-a67192152d4f4f2e588da132f219793fb9a9aedb.tar.bz2
Using ssl::cert to define certificates
-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"],