summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-16 19:47:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-16 19:47:56 -0300
commitf2f65ac3c75729004f0735c3a6e2bf64ff1db763 (patch)
tree02a83a319399851911c68bacad5646f2c46e1dc4
parent1413ba4b0d23d3058959c37261e623d5c05fa682 (diff)
downloadpuppet-nginx-f2f65ac3c75729004f0735c3a6e2bf64ff1db763.tar.gz
puppet-nginx-f2f65ac3c75729004f0735c3a6e2bf64ff1db763.tar.bz2
Certbot: cronjob full path
-rw-r--r--manifests/ssl.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp
index 2ec8d89..1fec72a 100644
--- a/manifests/ssl.pp
+++ b/manifests/ssl.pp
@@ -32,7 +32,7 @@ class nginx::ssl(
}
cron { 'certbot-renew':
- command => 'certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"',
+ command => '/usr/bin/certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"',
user => 'root',
weekday => 1,
hour => "05",