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

mention the used template during `new module`

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PDK 1.3.0
    • None
    • New Feature
    • `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.
    • 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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support