Details

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PDK 1.7.0
    • None
    • Bug Fix
    • 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.
    • 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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support