diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-11-16 11:26:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-11-16 11:26:26 -0200 |
commit | c638af630e56ef44c4d58365ec00787818f4c693 (patch) | |
tree | 23849a8a1fdc013e7861d423b11cfc08b6fbdeee /manifests/manage.pp | |
parent | ebb9cbf7224f497a39f60c408b00f9da09b03f7f (diff) | |
download | puppet-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.pp | 2 |
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}"], } |