summaryrefslogtreecommitdiff
path: root/manifests/manage.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/manage.pp
parentebb9cbf7224f497a39f60c408b00f9da09b03f7f (diff)
downloadpuppet-certbot-c638af630e56ef44c4d58365ec00787818f4c693.tar.gz
puppet-certbot-c638af630e56ef44c4d58365ec00787818f4c693.tar.bz2
Switch base_path to script_base
Diffstat (limited to 'manifests/manage.pp')
-rw-r--r--manifests/manage.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/manage.pp b/manifests/manage.pp
index 2481a8d..e09621a 100644
--- a/manifests/manage.pp
+++ b/manifests/manage.pp
@@ -27,7 +27,7 @@ define certbot::manage(
# Make sure nginx is restarted and request a certificate
exec { "certbot-${name}":
- command => "${real_pre_hook}${certbot::base_path}/${certbot::tool} certonly --webroot -w ${::certbot::basedir}/${name} -d ${name} ${domains} -m ${email} --rsa-key-size ${size} --agree-tos",
+ command => "${real_pre_hook}${certbot::script_base}/${certbot::tool} certonly --webroot -w ${::certbot::basedir}/${name} -d ${name} ${domains} -m ${email} --rsa-key-size ${size} --agree-tos",
creates => "/etc/letsencrypt/archive/${name}",
require => File["${::certbot::basedir}/${name}"],
}