summaryrefslogtreecommitdiff
path: root/manifests/certificate.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-05 14:24:45 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-10-20 02:18:10 +0200
commit0b8b2b0b4477eb837842096f76e8d6ae670b30c2 (patch)
tree632f2ba5c1a82ea3155dbfef815c4e1e421f18ef /manifests/certificate.pp
parentFreebsd work. (diff)
downloadprofiles-0b8b2b0b4477eb837842096f76e8d6ae670b30c2.tar.gz
profiles-0b8b2b0b4477eb837842096f76e8d6ae670b30c2.tar.xz
Add transient puppetboard2 in FreeBSD porting work.
Diffstat (limited to 'manifests/certificate.pp')
-rw-r--r--manifests/certificate.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/certificate.pp b/manifests/certificate.pp
index 829ae37..c3be0b9 100644
--- a/manifests/certificate.pp
+++ b/manifests/certificate.pp
@@ -2,7 +2,7 @@
# Should preferably be included before a letsencrypt::domain resource
# is declared.
class profiles::certificate (
- String $cert_name = $::fqdn,
+ String $cert_name = $trusted['hostname'],
Letsencrypt::Authenticator $authenticator = 'nginx',
Hash[String,Any] $config = {
# more portable than 'systemctl reload nginx'
@@ -12,7 +12,7 @@ class profiles::certificate (
include ::letsencrypt
letsencrypt::cert { $cert_name:
- domains => [ $::fqdn, ],
+ domains => [ $trusted['hostname'], ],
authenticator => $authenticator,
config => $config,
}