Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
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.