summaryrefslogtreecommitdiff
path: root/manifests/manage.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:14:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:14:58 -0200
commitc48fcd99581798d9a6eae2f4bb45be99e3e9d1f7 (patch)
tree55a507c55024801d5bd3a228954abaa8e255fc4b /manifests/manage.pp
parent1270e496bfd3b9f5ebd293c633c7606315fc203b (diff)
downloadpuppet-certbot-c48fcd99581798d9a6eae2f4bb45be99e3e9d1f7.tar.gz
puppet-certbot-c48fcd99581798d9a6eae2f4bb45be99e3e9d1f7.tar.bz2
Adds base_path config allowing standalone cerbot installs
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 ce14b0f..2481a8d 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}/usr/bin/certbot certonly --webroot -w ${::certbot::basedir}/${name} -d ${name} ${domains} -m ${email} --rsa-key-size ${size} --agree-tos",
+ 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",
creates => "/etc/letsencrypt/archive/${name}",
require => File["${::certbot::basedir}/${name}"],
}