From 9c444cdaf70e808c7837fd3b892a90ab9aea7070 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 16 Jun 2016 19:13:14 -0300 Subject: Certbot requirement --- manifests/certbot.pp | 1 + 1 file changed, 1 insertion(+) 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}"], } } -- cgit v1.2.3