Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
Description
puppetserver-ca prune is currently operating on a list of Puppet's CRL. This is unnecessary as there should be only one Puppet's CRL so there is no need to operate on a list of Puppet's CRL. Furthermore, update prune to log the number of certificates in the CRL before pruning to provide more information to the user.
There is also a small bug where not passing anything to the :query parameter when creating a new URL in http_client.rb will result in an error. This bug can be fix by simply adding a check for parameter to be nil when creating a new URL.