Skip to content

Commit

Permalink
revert req_ext check to go with default array value
Browse files Browse the repository at this point in the history
  • Loading branch information
markuszilch committed May 22, 2023
1 parent 04df889 commit 7c55199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/certificate/x509.pp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
$_csr = pick($csr, "${_csr_dir}/${name}.csr")
$_key = pick($key, "${_key_dir}/${name}.key")

if ($altnames or $extkeyusage) {
if !empty($altnames+$extkeyusage) {
$req_ext = true
} else {
$req_ext = false
Expand Down

0 comments on commit 7c55199

Please sign in to comment.