summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-12 18:13:27 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-12 18:13:27 +0200
commiteb38d3e371f5800d1b344b387b7efddaabf3b027 (patch)
treebdaf4c0b0c5c5186e07a309b6b49d218d7d924c0
parentUpdate puppetboard to new certbot. (diff)
downloadprofiles-eb38d3e371f5800d1b344b387b7efddaabf3b027.tar.gz
profiles-eb38d3e371f5800d1b344b387b7efddaabf3b027.tar.xz
Change puppetboard again.
-rw-r--r--manifests/puppetboard.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/puppetboard.pp b/manifests/puppetboard.pp
index ed671e8..e1ad188 100644
--- a/manifests/puppetboard.pp
+++ b/manifests/puppetboard.pp
@@ -26,7 +26,8 @@ class profiles::puppetboard (
# Configure puppetboard
include ::nginx
- include ::profiles::certificate
+ include ::letsencrypt
+ # include ::profiles::certificate
class { 'puppetboard':
manage_git => true,
@@ -46,9 +47,10 @@ class profiles::puppetboard (
# Don't use "global" certificate, since that probably probably
# requies nginx
- letsencrypt::domain { $server_name:
- domain => $server_name,
+ letsencrypt::cert { $server_name:
+ domains => [ $server_name ],
authenticator => 'apache',
+ post_hook => 'apache2ctl restart',
}
# Only set up TLS if we are ready. This allows us to bootstrap