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

Add --template-ref option

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PDK 1.10.0
    • None
    • Hide
      • Manually test that --template-url still clones the default branch.
      • Manually test that the --template-ref clones the correct ref.
      • A custom --template-ref should be stored in the answer file with the respective template-url.
      Show
      Manually test that --template-url still clones the default branch. Manually test that the --template-ref clones the correct ref. A custom --template-ref should be stored in the answer file with the respective template-url.
    • Puppet Developer Experience
    • New Feature
    • Hide
      You can now specify a branch name, tag name, or commit SHA for the template repository that PDK uses for your modules. The --template-ref option is available for the following commands:
      pdk new module
      pdk convert
      pdk update
      Show
      You can now specify a branch name, tag name, or commit SHA for the template repository that PDK uses for your modules. The --template-ref option is available for the following commands: pdk new module pdk convert pdk update
    • Needs Assessment

    Description

      Adding a `--template-ref` option to pdk adds flexibility for users to be able to provide specific refs (tags/branches/SHA) to use different branches of the default (or custom) template-url provided. This will become more valuable when we start pinning the default pdk-module-template to a specific tag/SHA on both package and gem releases.

      Attachments

        Issue Links

          Activity

            People

              tim.sharpe Tim Sharpe
              bryan.jen Bryan Jen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support