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

PDK 1.18.0 breaks module_metadata for moduleroot

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.18.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      PDK 1.18.0

    • Template:
    • Team:
      Puppet Developer Experience
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fixed an issue where metadata was not always available to template renderer during `pdk update` and `pdk convert`
    • QA Risk Assessment:
      Needs Assessment

      Description

      I have a PDK template fork at https://github.com/treydock/pdk-templates that sets up breaker nodesets like this: https://github.com/treydock/pdk-templates/blob/master/moduleroot/spec/acceptance/nodesets/centos-7.yml.erb#L1

       

      With PDK 1.17.0 this works to give me the module name but with PDK 1.18.0 I am finding that `@configs['module_metadata']` is an empty Hash.

        Attachments

          Activity

            People

            Assignee:
            jesse Jesse Scott
            Reporter:
            treydock Trey Dockendorf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support