summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-30 18:38:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-30 18:38:52 -0300
commit1845091dec9194f49a4c2128d12d1e6299ded02f (patch)
treea86e03b358f57d7873a2f43ff371ce93525ca1ee
parentfbd4a76f453ddae61330864c4aad429d77f04d03 (diff)
downloadpuppet-nginx-1845091dec9194f49a4c2128d12d1e6299ded02f.tar.gz
puppet-nginx-1845091dec9194f49a4c2128d12d1e6299ded02f.tar.bz2
Do not use pre_hook and post_hook at certbot
-rw-r--r--manifests/ssl.pp9
1 files 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,