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

Add a way to reset to default template using `pdk convert`

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.15.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      • There is a mechanism for users to revert back to the default/built-in template and template-tracking behavior without manually editing their metadata.json.
    • Team:
      Puppet Developer Experience
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Users can now run `pdk convert --default-template` to convert their module to the default PDK template.
    • QA Risk Assessment:
      Needs Assessment

      Description

      We should add an flag or template-url option value to `pdk convert` that allows the user to reset their module back to using the "default" or built-in template URL.

      Suggestions: `pdk convert --template-url=default` or `pdk convert --default-template`, etc.

      This would also clear out any custom `--template-ref` value and revert back to default version tracking behavior.

      (Follow up from PDK-1463)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tim.sharpe Tim Sharpe
              Reporter:
              jesse Jesse Scott
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support