Method: Puppet::Pops::Lookup.search_and_merge

Defined in:
lib/puppet/pops/lookup.rb

.search_and_merge(name, lookup_invocation, merge, apl = true) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



81
82
83
84
85
# File 'lib/puppet/pops/lookup.rb', line 81

def self.search_and_merge(name, lookup_invocation, merge, apl = true)
  answer = lookup_invocation.lookup_adapter.lookup(name, lookup_invocation, merge)
  lookup_invocation.emit_debug_info("Automatic Parameter Lookup of '#{name}'") if apl && Puppet[:debug]
  answer
end