diff options
Diffstat (limited to 'manifests/certificate.pp')
-rw-r--r-- | manifests/certificate.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/certificate.pp b/manifests/certificate.pp index 14e7d2e..b630864 100644 --- a/manifests/certificate.pp +++ b/manifests/certificate.pp @@ -2,13 +2,13 @@ # Should preferably be included before a letsencrypt::domain resource # is declared. class profiles::certificate ( - String $cert_name = $trusted['hostname'], + String $cert_name = $trusted['certname'], Letsencrypt::Authenticator $authenticator = 'nginx', Hash[String,Any] $config = { # more portable than 'systemctl reload nginx' 'post-hook' => 'nginx -s reload', }, - Array[String] $default_domains = [ $trusted['hostname'], ], + Array[String] $default_domains = [ $trusted['certname'], ], ) { include ::letsencrypt |