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

mention the used template during `new module`

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.3.0
    • Component/s: None
    • Template:
    • Team:
      Puppet Developer Experience
    • Release Notes:
      New Feature
    • Release Notes Summary:
      `pdk new module` now displays the used template in the report, to make it clear that there is a template, and that it can be changed.
    • QA Risk Assessment:
      Needs Assessment

      Description

      People are unawares of the fact that they can replace/modify the template. Mentioning in the default output that there is a template in use can help with that awareness, and give folks a chance to detect later if they're using the right one.

      before:

      david@davids:~/tmp$ pdk new module test --skip-interview
      pdk (INFO): Creating new module: test
      pdk (INFO): Module 'test' generated at path '/home/david/tmp/test'.
      pdk (INFO): In your module directory, add classes with the 'pdk new class' command.
      david@davids:~/tmp$
      

      after:

      david@davids:~/tmp$ pdk new module test --skip-interview
      pdk (INFO): Creating new module: test
      pdk (INFO): Module 'test' generated at path '/home/david/tmp/test' from template 'file:///opt/puppetlabs/pdk/share/cache/pdk-module-template.git'.
      pdk (INFO): In your module directory, add classes with the 'pdk new class' command.
      david@davids:~/tmp$ 
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                david.schmitt David Schmitt
                Reporter:
                david.schmitt David Schmitt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: