summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-05 17:16:37 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-05 17:21:22 +0100
commit7696a8670bb50826df9699431021936d9c128a7f (patch)
tree88f8917b3b3e181cc53801d7d533bcca3552d5f5
parentpuppetboard letsencrypt. (diff)
downloadwebdav_server-7696a8670bb50826df9699431021936d9c128a7f.tar.gz
webdav_server-7696a8670bb50826df9699431021936d9c128a7f.tar.xz
puppetboard use ssl.
-rw-r--r--modules/profiles/manifests/puppetboard.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/profiles/manifests/puppetboard.pp b/modules/profiles/manifests/puppetboard.pp
index a4cef20..7b436c2 100644
--- a/modules/profiles/manifests/puppetboard.pp
+++ b/modules/profiles/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",
}
}