From: Silvio Rhatto Date: Tue, 29 Nov 2011 01:38:20 +0000 (-0200) Subject: Using ssl::cert to define certificates X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a67192152d4f4f2e588da132f219793fb9a9aedb;p=puppet-nginx.git Using ssl::cert to define certificates --- 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"],