Skip to content

Commit 3e6ec43

Browse files
committed
fix boolish logic
1 parent 9230d0b commit 3e6ec43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/x509_cert/openssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def create
9898
options += ['-passin', 'env:CERTIFICATE_PASSIN']
9999
env['CERTIFICATE_PASSIN'] = password
100100
end
101-
options += ['-extensions', 'v3_req'] if resource[:req_ext] != :false
101+
options += ['-extensions', 'v3_req'] if resource[:req_ext]
102102

103103
# openssl(options) doesn't work because it's impossible to pass an env
104104
# https://github.com/puppetlabs/puppet/issues/9493

0 commit comments

Comments
 (0)