To my surprise hashes passed to class parameters pulled from hiera with
:merge_behavior: deeper, are not merged "as expected", where as hiera_hash
does work "as expected".
Or to rephrase: they behave differently, despite merge_behavior being set.
I found a snippet documenting this here:
http://docs.puppetlabs.com/hiera/1/lookup_types.html#deep-merging-in-hiera--120
Might make sense to make these things allot more apparent by listing the
caveats and known issues at the top of the documentation and in release
notes.
That said, Hiera is great and I'm looking forward to future improvements.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e38fd832-863a-42fc-b028-6b47d922c851%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.