From 1845091dec9194f49a4c2128d12d1e6299ded02f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 May 2018 18:38:52 -0300 Subject: Do not use pre_hook and post_hook at certbot --- manifests/ssl.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/manifests/ssl.pp b/manifests/ssl.pp index d925e36..62f34c7 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -3,11 +3,12 @@ class nginx::ssl( ) { include ssl include ssl::snakeoil + include cerbot - class { 'certbot': - pre_hook => '/usr/sbin/service nginx stop', - post_hook => '/usr/sbin/service nginx start', - } + #class { 'certbot': + # pre_hook => '/usr/sbin/service nginx stop', + # post_hook => '/usr/sbin/service nginx start', + #} #package { 'python-certbot-nginx': # ensure: present, -- cgit v1.2.3