Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1096

Update CLI with puppet-dev flag

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.7.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      Hide
      • Specifying `--puppet-dev` will pass `opts[:puppet-dev] = true` to the validator and unit test modules.
      • Specifying `-puppet-dev` with `-puppet-version` will result in an error message and non-zero exit code.
      • Specifying `-puppet-dev` with `-pe-version` will result in an error message and non-zero exit code.
      Show
      Specifying `--puppet-dev` will pass `opts [:puppet-dev] = true` to the validator and unit test modules. Specifying `- puppet-dev` with ` -puppet-version` will result in an error message and non-zero exit code. Specifying `- puppet-dev` with ` -pe-version` will result in an error message and non-zero exit code.
    • Team:
      Puppet Developer Experience
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      The `--puppet-dev` flag has been added to the `pdk validate` and `pdk test unit` commands. This flag allows users to validate and test against the latest Puppet source code from github. This feature requires internet access to https://github.com, or it will result in an error. Cannot specify `--puppet-dev` in conjunction with `--puppet-version=` or `--pe-version=` options.
      Show
      The `--puppet-dev` flag has been added to the `pdk validate` and `pdk test unit` commands. This flag allows users to validate and test against the latest Puppet source code from github. This feature requires internet access to https://github.com, or it will result in an error. Cannot specify `--puppet-dev` in conjunction with `--puppet-version=` or `--pe-version=` options.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Tentative implementation per design detailed in: https://github.com/puppetlabs/pdk-planning/pull/16

      Add a `-puppet-dev` flag that will test and validate against the latest source code from https://github.com/puppetlabs/puppet master branch. This flag will be mutually exclusive from the `puppet-version` and `-pe-version` flags. Specifying both will result in a CLI error and non-zero exit code.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bryan.jen Bryan Jen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support