voxpupuli / puppet-openssl

Puppet OpenSSL module
Apache License 2.0
38 stars 84 forks source link

templates/cert.cnf.erb should use @, not $ #149

Closed mikerenfro closed 1 year ago

mikerenfro commented 1 year ago

Pull Request (PR) description

Fixing ERB syntax in templates/cert.cnf.erb -- line 17 uses <% if $req_ext while line 38 uses <% if @req_ext. As a result, line 17 never evaluates to true.

This Pull Request (PR) fixes the following issues

No issues filed currently, but verified with ewoud on Slack that the $ syntax is just wrong for ERB.