Sha256: 058e3bc0f6ca6420873256a642b75bfd67560faec9629515b3cf1721b2e35159
Contents?: true
Size: 420 Bytes
Versions: 6
Compression:
Stored size: 420 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(:dump_lookups) do dispatch :dump_lookups do param 'Array[String]', :parameters end def dump_lookups(parameters) Hash[parameters.map { |param| [param, call_function('lookup', [param], 'default_value' => nil)] }] end end
Version data entries
6 entries across 6 versions & 1 rubygems