example42/puppi — pull request #13 by timurbatyrshin (2012-07-05 11:58:43+00:00)
Title: let params_lookup search for hashes and arrays

Hiera behaves slightly different when the search is done for a hash or an array. There are 2 functions to do searches like that — hiera_array() and hiera_hash() in addition to plain hiera() function. However params_lookup() uses plain hiera() function for all the searches. This makes composing a has or an array from multiple hiera backends impossible with params_lookup() function.

This commit adds possibility to use those kinds of searches by specifying a :hash or an :array as a 3d param to do this kind of searching.