[Puppet Users] hiera command line - search with structured facts (key.subkey)

2018-04-27 Thread Louis Coilliot
Hello, this work : hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=production ::osfamily=RedHat this does not (at least on my platform) : hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=production ::os.family=RedHat (note the dot between

[Puppet Users] converting Hiera v3 to v5 - :merge_behavior: deeper option?

2018-04-27 Thread du
Hi I am in the process of migrating v3 hiera.yaml to v5 and I would like all hash merges to merge 'deep' by default, the same way :merge_behavior: deeper in v3 parameter provides. I can't seem to find an easy way to do this after reading the docs - I understand lookup_options: need to be se

Re: [Puppet Users] converting Hiera v3 to v5 - :merge_behavior: deeper option?

2018-04-27 Thread R.I.Pienaar
On Fri, 27 Apr 2018, at 17:34, du wrote: > > > Hi > > I am in the process of migrating v3 hiera.yaml to v5 and I would like all > hash merges to merge 'deep' by default, the same way :merge_behavior: > deeper in v3 parameter provides. > > > I can't seem to find an easy way to do this after

Re: [Puppet Users] converting Hiera v3 to v5 - :merge_behavior: deeper option?

2018-04-27 Thread Henrik Lindberg
On 27/04/18 17:34, du wrote: Hi I am in the process of migrating v3 hiera.yaml to v5 and I would like all hash merges to merge 'deep' by default, the same way :merge_behavior: deeper in v3 parameter provides. I can't seem to find an easy way to do this after reading the docs - I understand

Re: [Puppet Users] hiera command line - search with structured facts (key.subkey)

2018-04-27 Thread Henrik Lindberg
On 27/04/18 18:12, Louis Coilliot wrote: Hello, this work : hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=production  ::osfamily=RedHat this does not (at least on my platform) : hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=producti

[Puppet Users] How to Orchestrate State, such as use IPs of new systems for config other systems

2018-04-27 Thread Joaquin Menchaca
Hello Puppeteers, Relearning Puppet (converting Ansible, Chef knowledge), not sure best approach for this. How can I configure systems based on state of another system? Essentially, I would use a tool like Terraform to bring up systems. When their IP addresses are available, I would then us