summaryrefslogtreecommitdiffstats
path: root/modules/certbot
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-10 02:41:38 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-10 02:41:38 -0400
commitf762ec5f184d79f504922e7ef85bbb72e1efe04b (patch)
treee7b5fe0070ca92129c2f87e5a679283fefc033ee /modules/certbot
parent555fc9f96194345ed0758112eb799c40d3acd0b1 (diff)
downloadpuppet-tozt-f762ec5f184d79f504922e7ef85bbb72e1efe04b.tar.gz
puppet-tozt-f762ec5f184d79f504922e7ef85bbb72e1efe04b.zip
add initial certbot run
Diffstat (limited to 'modules/certbot')
-rw-r--r--modules/certbot/manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/certbot/manifests/init.pp b/modules/certbot/manifests/init.pp
index 5ace225..7ba74e6 100644
--- a/modules/certbot/manifests/init.pp
+++ b/modules/certbot/manifests/init.pp
@@ -24,5 +24,10 @@ class certbot {
require => File['/etc/letsencrypt/renewal-hooks/deploy'];
}
- # XXX initial certbot run
+ exec { "initial certbot run":
+ # XXX update to real domain name
+ command => "certbot certonly --webroot -w /home/doy/public_html -d new.tozt.net",
+ creates => "/etc/letsencrypt/live",
+ require => Package["certbot"],
+ }
}