summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:26:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:26:26 -0200
commitc638af630e56ef44c4d58365ec00787818f4c693 (patch)
tree23849a8a1fdc013e7861d423b11cfc08b6fbdeee /manifests/init.pp
parentebb9cbf7224f497a39f60c408b00f9da09b03f7f (diff)
downloadpuppet-certbot-c638af630e56ef44c4d58365ec00787818f4c693.tar.gz
puppet-certbot-c638af630e56ef44c4d58365ec00787818f4c693.tar.bz2
Switch base_path to script_base
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
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",