diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-05 17:16:37 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-05 17:21:22 +0100 |
commit | 29bb844d86630c952cbceedd97a3685c8538b9f0 (patch) | |
tree | 0d144312678c07efc00167be74a5a0aecb3de7e8 /manifests/puppetboard.pp | |
parent | puppetboard letsencrypt. (diff) | |
download | profiles-29bb844d86630c952cbceedd97a3685c8538b9f0.tar.gz profiles-29bb844d86630c952cbceedd97a3685c8538b9f0.tar.xz |
puppetboard use ssl.
Diffstat (limited to 'manifests/puppetboard.pp')
-rw-r--r-- | manifests/puppetboard.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/puppetboard.pp b/manifests/puppetboard.pp index a4cef20..7b436c2 100644 --- a/manifests/puppetboard.pp +++ b/manifests/puppetboard.pp @@ -48,6 +48,10 @@ class profiles::puppetboard { class { 'puppetboard::apache::vhost': vhost_name => $::fqdn, - port => 80, + port => 443, + ssl => true, + ssl_cert => "/etc/letsencrypt/live/${certname}/cert.pem", + ssl_key => "/etc/letsencrypt/live/${certname}/privkey.pem", + ssl_chain => "/etc/letsencrypt/live/${certname}/fullchain.pem", } } |