Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-04 Thread Dirk Heinrichs
Am Mittwoch, den 04.03.2020, 10:58 +0100 schrieb Martin Alfke: Yes, both deliver same results. I prefer the second option (using paths) The first option is useful in case that you need to set hierarchy individual settings. Great. Thanks a lot. Bye... Dirk -- Dirk Heinrichs Senior Systems

Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-04 Thread Martin Alfke
Hi Dirk, > On 4. Mar 2020, at 09:12, Dirk Heinrichs wrote: > > Am Mittwoch, den 04.03.2020, 07:56 + schrieb Dirk Heinrichs: > >> I assume these two are equivalent: Yes, both deliver same results. I prefer the second option (using paths) The first option is useful in case that you need to

Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-04 Thread Dirk Heinrichs
Am Mittwoch, den 04.03.2020, 07:56 + schrieb Dirk Heinrichs: I assume these two are equivalent: Once again, with better indentation: hierarchy: - name: "Per-kernel data" path: "kernel/%{facts.kernel}.yaml" - name: "Common data" path: "common.yaml" hierarchy: - name: