[PDK-1096] Update CLI with puppet-dev flag Created: 2018/07/31  Updated: 2018/08/16  Resolved: 2018/08/09

Status: Closed
Project: Puppet Development Kit
Component/s: None
Affects Version/s: None
Fix Version/s: PDK 1.7.0

Type: Task Priority: Normal
Reporter: Bryan Jen Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Acceptance Criteria:
  • 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.
Epic Link: Add support for Puppet 6 to PDK, part 1
Team: Puppet Developer Experience
Release Notes: New Feature
Release Notes Summary: 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


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.

Generated at Wed Nov 20 21:30:03 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.