summaryrefslogtreecommitdiffstats
path: root/modules/certbot
diff options
context:
space:
mode:
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"],
+ }
}