summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-30 11:09:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-30 11:09:33 -0300
commitb6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31 (patch)
tree677ccdada341aad1469c4fe3708cd4d24dfa6387
parente60fa624d120620f7ac3c8c8a88dff76811c6376 (diff)
downloadpuppet-nginx-b6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31.tar.gz
puppet-nginx-b6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31.tar.bz2
Fix: switch cerbot post_command to nginx restart
-rw-r--r--manifests/ssl.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp
index 0f506f3..68b89d2 100644
--- a/manifests/ssl.pp
+++ b/manifests/ssl.pp
@@ -7,7 +7,7 @@ class nginx::ssl(
class { 'certbot':
#pre_hook => '/usr/sbin/service nginx stop',
#post_hook => '/usr/sbin/service nginx start',
- post_command => '/usr/sbin/service nginx start',
+ post_command => '/usr/sbin/service nginx restart',
}
#package { 'python-certbot-nginx':