Displaying 1 result from an estimated 1 matches for "metric4102".
Did you mean:
metric10
2012 May 14
2
defaults for virtual defined resources from hiera.
...t to have to use that hierarchy rather than the perhaps more obvious
metric:
1234: ...
abcd: ...
since hiera can only select on the first level as the key?, i.e
hiera(metic[1234]) or something is not posible is it?
To realize in a manifest the following works:
$h = hiera_hash(''metric4102'')
$g = { ''4102'' => $h }
create_resources(''lemon::metric'',$g)
however what I would like to do is get the defaults from hiera within the
defined resource so it becomes
like the following which is incorrect but hopefully explains it.
metric{4102: one...