Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to migrate the hiera v3 (global) option :merge_behavior: deeper to hiera v5?

Hi

1) How can i tell hiera v5 to use the merge behavior deep as global default?

I can tell every lookup() the use {merge => 'deep'} or configure these options in a hiera data file. But i want to set this behavior as global default, like in hiera v1-3 and I didn't find it how to do that.

2) https://puppet.com/docs/puppet/5.4/hiera_merging.html#configure-merge-behavior-in-hiera-data

Have I to configure it in every hiera data file, only where the key matches or it is in one File enough (first or last file in hierarchy)?

Thanks,

MfG Matthias