[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-15 Thread Eric Sorenson
Hey, it looks like everyone found this, but I wanted to add that we updated this document with the hiera.yaml v5 format late last week, so if you were looking for it outside of the google doc, it's up and running.

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
Being that I have followed the default structure this time the following worked fine for me direct from the above link - --- version: 5 defaults: datadir: data data_hash: yaml_data hierarchy: - name: "Nodes" path: "nodes/%{trusted.certname}.yaml" # Putting a JSON level between

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
I found that although that fixed my error, I got no data. Turns out this is because you need a hiera.yaml in each environment folder with the datadir specified to that environment (if you are using a hieradata folder specific to each environment. I also needed to change puppet.conf and add

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
The spec appears to be here - https://docs.puppet.com/puppet/4.9/lookup_quick.html On Wednesday, February 8, 2017 at 8:37:32 AM UTC+13, Joshua Schaeffer wrote: > > Okay I see that they are actually preparing to release Puppet 4.9.2 which > is supposed to fix these issues. Does this mean they

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-07 Thread Joshua Schaeffer
Okay I see that they are actually preparing to release Puppet 4.9.2 which is supposed to fix these issues. Does this mean they will release a new puppet-agent package part of the PC1? Where can I go to track the progress of this minor release? > -- You received this message because you are

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-07 Thread Joshua Schaeffer
So going through the ticket it looks like I should be putting "version: 5" in the YAML file and that keys are not prefixed with a colon. But I get errors when I make changes to my hiera.yaml file: --- version: 5 backends: yaml hierarchy: - "fqdn/%{facts.fqdn}" - "os/%{facts.osfamily}" -

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-07 Thread Joshua Schaeffer
So going through the ticket it looks like you should be putting "version: 5" in the YAML file and that keys are not not prefixed with a colon. But I get errors when I make changes to my hiera.yaml file: --- version: 5 backends: yaml hierarchy: - "fqdn/%{facts.fqdn}" - "os/%{facts.osfamily}"