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

Make new PDK modules Gemfile.lock default to Puppet 6 / Ruby 2.5

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDK 1.10.0
    • Fix Version/s: PDK 1.11.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      • A newly generated module's Gemfile.lock matches the default --puppet-version
    • Team:
      Puppet Developer Experience
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Previously new modules would default to Puppet 5. This is now changed to the latest Puppet version available to the PDK. At the time of fixing, this is Puppet 6 with Ruby 2.5.
    • QA Risk Assessment:
      Needs Assessment

      Description

      When you generate a new module with `pdk new module foo` the default Gemfile.lock is for the Puppet 5 / Ruby 2.4 gemset. Once you invoke any commands (e.g. `pdk validate`) the Puppet 6 / Ruby 2.5 gemset is activated unless you specifically request an older version of Puppet. We should make the default Gemfile.lock match the default Puppet version.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              glenn.sarti Glenn Sarti
              Reporter:
              jesse Jesse Scott
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support