Method: Puppet::Parser::Compiler#context_overrides

Defined in:
lib/puppet/parser/compiler.rb

#context_overridesObject

Constructs the overrides for the context



167
168
169
170
171
172
173
# File 'lib/puppet/parser/compiler.rb', line 167

def context_overrides
  {
    :current_environment => environment,
    :global_scope => @topscope, # 4x placeholder for new global scope
    :loaders => @loaders, # 4x loaders
  }
end