Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10114

Do not exclude variables explicitly set to `undef` in ParameterScope to_hash method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.4.5, PUP 6.11.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Kanban
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Internal API change, release note is not needed

      Optionally include parameters which have been explicitly set to `undef` when calling the to the to_hash method for the Puppet::Parser::Scope::ParameterScope class. This work enables passing variables from Bolt plan scope accross the apply boundry. See Bolt issue 1288 for more details. https://github.com/puppetlabs/bolt/issues/1288

        Attachments

          Activity

            People

            Assignee:
            cas.donoghue Cas Donoghue
            Reporter:
            cas.donoghue Cas Donoghue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support