theforeman / puppet-certs

Puppet module for dealing with SSL certs across other modules used in Katello
GNU General Public License v3.0
5 stars 39 forks source link

Merge if/else branch into a single resource declaration & introduce $default_ca_path #467

Closed ekohl closed 3 weeks ago

ekohl commented 3 weeks ago

The resource always defined the same file, just with a different source. That source is either the provided server_ca_cert or the default CA.

It also introduces $default_ca_path to make it easier to see the same value is used in multiple places.