diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-30 21:00:51 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-30 21:00:51 -0300 |
| commit | 86a76a9bebafd0f028b057d35a705f946a18eae6 (patch) | |
| tree | a5cd1f5a74c4a875374423917f397327554ca1f5 | |
| parent | c1af8e32a0192407da009a4da567f47688e293c4 (diff) | |
| download | puppet-nginx-86a76a9bebafd0f028b057d35a705f946a18eae6.tar.gz puppet-nginx-86a76a9bebafd0f028b057d35a705f946a18eae6.tar.bz2 | |
Pass post_command to certbot class
| -rw-r--r-- | manifests/ssl.pp | 10 |
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, |
