Browse Source

Use facts instead of ::facts.

master
Bernd Zeimetz 1 year ago
parent
commit
0b3d5b7d67
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      manifests/csr.pp

+ 1
- 1
manifests/csr.pp View File

@@ -154,7 +154,7 @@ define letsencrypt::csr(
require => X509_request[$csr],
}

$csr_content = pick_default(getvar("::letsencrypt_csr_${domain}"), getvar("::facts.'letsencrypt_csr_${domain}'"), '')
$csr_content = pick_default(getvar("::letsencrypt_csr_${domain}"), getvar("facts.'letsencrypt_csr_${domain}'"), '')
if ($csr_content =~ /CERTIFICATE REQUEST/) {
@@letsencrypt::request { $domain :
csr => $csr_content,


Loading…
Cancel
Save