puppet_ca parameter made available for unmanaged hosts
Right now in order for the puppet_ca parameter to be made available unattended needs to be set to true and a host needs to be managed. Is it possible to change the check to allow the puppet_ca parameter to be made available for unmanaged hosts as well?
fixes #9359 - display puppetca in yaml always when a puppetca is configured
#2 Updated by Chris Pisano about 4 years ago
After reaching out in #theforeman-dev it seems like line 357 in
would need to be moved outside of the if block and placed where param["puppetmaster"] is. According to lines 53 - 62 in
puppet_ca is only enabled if there is a proxy with the CA feature enabled. It seems like we wouldn't want puppet_ca to be displayed if it wasn't enabled. I'm not sure what to do with line 357 in managed.rb since :unattended doesn't seem to have a relation to the ca proxy feature.