From 7d97a78be54985267c4e834c7176187b6d396265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 19 Oct 2023 15:36:44 +0200 Subject: Made default domains for certificate configurable. --- manifests/certificate.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, } -- cgit v1.2.3