Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1426

Destructive puppet cert operations should have a safety check

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.4.2
    • Fix Version/s: PUP 4.0.0
    • Component/s: Networking
    • Labels:
    • Environment:

      Linux

    • Template:
    • Story Points:
      1

      Description

      When running the puppet cert command, you should not be able to pass both list and clean in the same command.

      Example:

      http://paste.debian.net/75956/

      In this case, adding --all seems to have nuked the whole of the puppet cert directory and completely broken someone's installation. This should not be possible.

      Ideally, when using puppet cert clean --all there should be a prompt at the very minimum warning of the dangers.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jaxxstorm Lee Briggs
              QA Contact:
              Eric Thompson
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support