diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 57c06fc..d8b6ccd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,5 +1,5 @@ class certbot( - $base_path = '/usr/bin', + $script_base = '/usr/bin', $basedir = '/var/spool/certbot', $owner = 'www-data', $pre_hook = '', @@ -37,7 +37,7 @@ class certbot( # Chosing an arbitrary minite within the hour in the hope that won't overload Let's Encrypt servers cron { 'certbot-renew': - command => "${base_path}/${tool} renew --standalone --quiet ${real_pre_hook} ${real_post_hook}", + command => "${script_base}/${tool} renew --standalone --quiet ${real_pre_hook} ${real_post_hook}", user => 'root', hour => [ 5, 23 ], minute => "28", |