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

Add facts and vars back to PAL ScriptCompiler scope

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.18.0
    • None
    • Needs Assessment
    • Bug Fix
    • Added local facts back to PAL's script compiler scope.
    • Needs Assessment

    Description

      Puppet Version: 6.15.0 - 6.17.0

      As part of work on Bolt, PUP-10397 removed vars and facts for the current node from PAL's script compiler. This resulted in a breaking change to a public API, affecting downstream projects that rely on PAL. The script compiler should make the current node's vars and facts available again.

      Desired Behavior:

      **PAL's script compiler should have access to vars and facts for the node running the script.

      Actual Behavior:

      PAL's script compiler does not have access to the vars and facts for the node running the script, causing project's that rely on the PAL API to lose access to this data.

      Attachments

        Activity

          People

            thomas.beech Tom Beech
            thomas.beech Tom Beech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support