From f2f65ac3c75729004f0735c3a6e2bf64ff1db763 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 16 Jun 2016 19:47:56 -0300 Subject: Certbot: cronjob full path --- manifests/ssl.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3