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

2020-03-03 Thread Dirk Heinrichs
Am Dienstag, den 03.03.2020, 15:12 +0100 schrieb Henrik Lindberg: Hope that helps. Yeah, thanks a lot. Got another one, though. I assume these two are equivalent: hierarchy: - name: "Per-kernel data" path: "kernel/%{facts.kernel}.yaml" - name: "Common data" path: "common.yaml" hierarchy: - nam

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

2020-03-03 Thread Henrik Lindberg
On 2020-03-03 11:17, Dirk Heinrichs wrote: Hi, while reading through the documentation about migrating to Hiera v5, the following questions came to my mind: * Can /hiera.yaml be a symlink? Our setup is as such that each subdirectory (modules, manifests, hiera) of each environment is

Re: [EXTERNAL] - Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-03-03 Thread Dirk Heinrichs
Am Dienstag, den 03.03.2020, 11:14 +0100 schrieb Martin Alfke: sshdconfig::match_address: "xx.xx.xx.xx" Just to clarify: Is "puppet lookup" supposed to find "sshdconfig::match_address" when only "match_address" was given No! That was my thought, too. So the "puppet lookup" command (see first

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

2020-03-03 Thread Dirk Heinrichs
Hi, while reading through the documentation about migrating to Hiera v5, the following questions came to my mind: * Can /hiera.yaml be a symlink? Our setup is as such that each subdirectory (modules, manifests, hiera) of each environment is a clone of a Git repository, with different bran

Re: [EXTERNAL] - Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-03-03 Thread Martin Alfke
Hi, > > Am Mittwoch, den 26.02.2020, 05:57 -0800 schrieb Dan Crisp: > >> sshdconfig::match_address: "xx.xx.xx.xx" > > Just to clarify: Is "puppet lookup" supposed to find > "sshdconfig::match_address" when only "match_address" was given No! Hiera looks for a string based key, not regex. You

Re: [EXTERNAL] - Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-03-03 Thread Dirk Heinrichs
Am Mittwoch, den 26.02.2020, 05:57 -0800 schrieb Dan Crisp: sshdconfig::match_address: "xx.xx.xx.xx" Just to clarify: Is "puppet lookup" supposed to find "sshdconfig::match_address" when only "match_address" was given? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Deliver