diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-16 19:13:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-16 19:13:14 -0300 |
commit | 9c444cdaf70e808c7837fd3b892a90ab9aea7070 (patch) | |
tree | f7b7b06b1b1230583815d310ef763d0641b5d263 | |
parent | f0f3cc32de372cbcee4498ef31828c787ea5b5d4 (diff) | |
download | puppet-nginx-9c444cdaf70e808c7837fd3b892a90ab9aea7070.tar.gz puppet-nginx-9c444cdaf70e808c7837fd3b892a90ab9aea7070.tar.bz2 |
Certbot requirement
-rw-r--r-- | manifests/certbot.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/certbot.pp b/manifests/certbot.pp index ab67ad5..2eca1f9 100644 --- a/manifests/certbot.pp +++ b/manifests/certbot.pp @@ -16,5 +16,6 @@ define nginx::certbot( exec { "certbot-${name}": command => "/usr/bin/certbot certonly --webroot -w /var/www/certbot/${name} -d ${name} -d www.${name} -m ${email} --rsa-key-size ${size} --agree-tos", creates => "/etc/letsencrypt/archive/${name}", + require => File["/var/www/certbot/${name}"], } } |