summaryrefslogtreecommitdiff
path: root/manifests/certbot.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-16 19:09:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-16 19:09:19 -0300
commit576f8e33ff7c5e7b8f563289748f9b37840c6416 (patch)
treeab3298ca50772f4d5ab1926a0e98ef2b17d46068 /manifests/certbot.pp
parentd14b82a7cc11d9463d38d6656e0bc7084c34471f (diff)
downloadpuppet-nginx-576f8e33ff7c5e7b8f563289748f9b37840c6416.tar.gz
puppet-nginx-576f8e33ff7c5e7b8f563289748f9b37840c6416.tar.bz2
Enhance certbot
Diffstat (limited to 'manifests/certbot.pp')
-rw-r--r--manifests/certbot.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/certbot.pp b/manifests/certbot.pp
index e024b32..07ea20d 100644
--- a/manifests/certbot.pp
+++ b/manifests/certbot.pp
@@ -14,6 +14,7 @@ define nginx::certbot(
}
exec { "certbot-${name}":
- command => "/usr/bin/certbot certonly --webroot -w /var/www/certbot/${name} -d ${name} -m ${email} --rsa-key-size ${size} --agree-tos",
+ 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}",
}
}