puppetlabs / puppetserver

Server automation framework and application
https://tickets.puppetlabs.com/browse/SERVER
Apache License 2.0
292 stars 236 forks source link

(PE-36456) add a routine to extract attributes from a CSR #2760

Closed jonathannewman closed 1 year ago

jonathannewman commented 1 year ago

This adds a new function to puppetserver that extracts attributes from CSRs, which will be needed to determine if an agent is capable of auto-renewal or not, rather than the current method of looking at the agent version.

This adds tests to demonstrate the behavior