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

Remove facts and vars from ScriptCompiler scope

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.15.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Bolt
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Removes node specific values from the scope of script compiles since they don't happen in the context of a node.
    • QA Risk Assessment:
      Needs Assessment

      Description

      As part of a Bolt ticket https://github.com/puppetlabs/bolt/issues/1403 we would like to remove facts and vars from the ScriptCompiler scope. Since it does not make sense for plans to have a concept of facts or vars, these fields should be removed from the ScriptCompiler's scope. This will disable the use of interpolations when performing lookups in plans outside of apply blocks.

       

        Attachments

          Activity

            People

            Assignee:
            thomas.beech Tom Beech
            Reporter:
            thomas.beech Tom Beech
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support