hiera.yaml: Migrate hiera.yaml to puppet 5
Since we migrated to buster, puppet version upgraded to 5.5. So now we can use the hiera v5 as well (and not the experimental v4)
What changed:
- version at 5
- define a default backend to yaml (
data_hash
key) - 'path' must be specified up to the filename extension so old 'name' key mostly got renamed to 'path' and completed with extension
- added the 'name' key to actually describe our entries
doc: https://puppet.com/docs/puppet/4.10/hiera_migrate_v4_yaml.html
Note: I started initially this because i had unexpectedly merge
in
loader-debian configuration. In the end, it's normal according to the doc. I
just did not expected it. In any case, that sidetracked me a bit since i saw we
were a bit old in our definition.
Test Plan
bin/octocatalog on some nodes and everything is still in order
Migrated from D2251 (view on Phabricator)