summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-19 15:36:44 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-10-20 02:18:10 +0200
commit7d97a78be54985267c4e834c7176187b6d396265 (patch)
tree1fd7bacbf5ac88eace30c9e8a31599e3f6758ea1
parentAdd transient puppetboard2 in FreeBSD porting work. (diff)
downloadprofiles-7d97a78be54985267c4e834c7176187b6d396265.tar.gz
profiles-7d97a78be54985267c4e834c7176187b6d396265.tar.xz
Made default domains for certificate configurable.
-rw-r--r--manifests/certificate.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/certificate.pp b/manifests/certificate.pp
index c3be0b9..14e7d2e 100644
--- a/manifests/certificate.pp
+++ b/manifests/certificate.pp
@@ -8,11 +8,12 @@ class profiles::certificate (
# more portable than 'systemctl reload nginx'
'post-hook' => 'nginx -s reload',
},
+ Array[String] $default_domains = [ $trusted['hostname'], ],
) {
include ::letsencrypt
letsencrypt::cert { $cert_name:
- domains => [ $trusted['hostname'], ],
+ domains => $default_domains,
authenticator => $authenticator,
config => $config,
}