diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-12 18:13:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-12 18:13:27 +0200 |
commit | eb38d3e371f5800d1b344b387b7efddaabf3b027 (patch) | |
tree | bdaf4c0b0c5c5186e07a309b6b49d218d7d924c0 | |
parent | Update puppetboard to new certbot. (diff) | |
download | profiles-eb38d3e371f5800d1b344b387b7efddaabf3b027.tar.gz profiles-eb38d3e371f5800d1b344b387b7efddaabf3b027.tar.xz |
Change puppetboard again.
-rw-r--r-- | manifests/puppetboard.pp | 8 |
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 |