summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
}