summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-30 21:00:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-30 21:00:51 -0300
commit86a76a9bebafd0f028b057d35a705f946a18eae6 (patch)
treea5cd1f5a74c4a875374423917f397327554ca1f5
parentc1af8e32a0192407da009a4da567f47688e293c4 (diff)
downloadpuppet-nginx-86a76a9bebafd0f028b057d35a705f946a18eae6.tar.gz
puppet-nginx-86a76a9bebafd0f028b057d35a705f946a18eae6.tar.bz2
Pass post_command to certbot class
-rw-r--r--manifests/ssl.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp
index 195ef66..4b6547a 100644
--- a/manifests/ssl.pp
+++ b/manifests/ssl.pp
@@ -3,12 +3,12 @@ class nginx::ssl(
) {
include ssl
include ssl::snakeoil
- include certbot
- #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',
+ post_command => '/usr/sbin/service nginx start',
+ }
#package { 'python-certbot-nginx':
# ensure: present,