Bug #9359
closedpuppet_ca parameter made available for unmanaged hosts
Description
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?
Updated by Dominic Cleal almost 10 years ago
- Category set to External Nodes
- Difficulty set to easy
Updated by Chris Pisano over 9 years ago
After reaching out in #theforeman-dev it seems like line 357 in
https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L357
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.
Updated by Dominic Cleal about 9 years ago
- Has duplicate Feature #13060: Missing puppetca in YAML parameters added
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3039 added
Updated by Dominic Cleal about 9 years ago
- Assignee changed from Chris Pisano to julien ippolito
- Translation missing: en.field_release set to 104
Updated by Anonymous about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f095f89d5c6b15aab6ee2394fd30637b06287b5c.