Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-3066

Update `prune` action and fix params query bug

    XMLWordPrintable

    Details

    • Template:
    • Acceptance Criteria:
      Hide
      • Update the prune action so that it will only accept and operate on one Puppet's CRL.
      • Provide the number of certificate within Puppet's CRL before pruning.
      • Fix the bug in http_client.rb that causes an error when not passing anything for the :query parameter.
      Show
      Update the prune action so that it will only accept and operate on one Puppet's CRL. Provide the number of certificate within Puppet's CRL before pruning. Fix the bug in http_client.rb that causes an error when not passing anything for the :query parameter.
    • Team:
      Froyo
    • Sprint:
      Froyo - 8/25/2021
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      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.

        Attachments

          Activity

            People

            Assignee:
            tu.vu Tu Vu
            Reporter:
            tu.vu Tu Vu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support