diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-19 15:36:44 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-20 02:18:10 +0200 |
commit | 7d97a78be54985267c4e834c7176187b6d396265 (patch) | |
tree | 1fd7bacbf5ac88eace30c9e8a31599e3f6758ea1 | |
parent | Add transient puppetboard2 in FreeBSD porting work. (diff) | |
download | profiles-7d97a78be54985267c4e834c7176187b6d396265.tar.gz profiles-7d97a78be54985267c4e834c7176187b6d396265.tar.xz |
Made default domains for certificate configurable.
-rw-r--r-- | manifests/certificate.pp | 3 |
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, } |