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

Remove facts and vars from ScriptCompiler scope

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.15.0
    • None
    • Bolt
    • Bug Fix
    • Removes node specific values from the scope of script compiles since they don't happen in the context of a node.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support