Sha256: 9428c857a46724bf58bb856d83f87e1cb7f1637acf53cec36e2b23cd608d923a
Contents?: true
Size: 474 Bytes
Versions: 15
Compression:
Stored size: 474 Bytes
Contents
# Find values via data lookups for class parameters # # Wraps the lookup() function for data lookups of class parameters without # inline defaults. # Puppet::Functions.create_function(:'kafo_configure::dump_lookups') do dispatch :dump_lookups do param 'Array[String]', :parameters return_type 'Hash[String, Any]' end def dump_lookups(parameters) Hash[parameters.map { |param| [param, call_function('lookup', [param], 'default_value' => nil)] }] end end
Version data entries
15 entries across 15 versions & 1 rubygems