Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.7.0
    • Component/s: None
    • Template:
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Running `pdk new module <module> --skip-interview` will now generate the same metadata as if running `pdk new module <module>` and hitting enter to accept all the default answers to the interview questions.
    • QA Risk Assessment:
      Needs Assessment

      Description

      pdk new module and pressing enter many times does not create the same module (metadata) as pdk new module --skip-interview. The two code paths need to use the same data structure as default.

      https://github.com/puppetlabs/pdk/blob/3d3fc009bdfcfb6445c19ab4c188e579d799191f/lib/pdk/module/metadata.rb#L19-L35

      https://github.com/puppetlabs/pdk/blob/3d3fc009bdfcfb6445c19ab4c188e579d799191f/lib/pdk/generators/module.rb#L209-L257

        Attachments

          Activity

            jsd-sla-details-panel

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: