Hi,
First, hiera_array function if for creating an array looking for the key in
every hiera hierarchy, if the values are just on one level, you should use
the hiera function.
Second, the problem here is the way erb templates print arrays, so just a
matter of format.
Regards,
El 16/04/2014 18:31,
Hi there,
Trying to figure out how to use hiera-array in my template. So, this is
what I have in .yaml file:
my_coll_list:
> - mon502.local
> - mon522.local
>
and in my nodes.pp, I have this:
$my_colloctors = hiera_array('my_coll_list')
then in one of my ERB templates, I using tha