From f762ec5f184d79f504922e7ef85bbb72e1efe04b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 10 Oct 2018 02:41:38 -0400 Subject: add initial certbot run --- modules/certbot/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/certbot') 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"], + } } -- cgit v1.2.3-54-g00ecf