diff options
author | mihaibuzgau <mihai.buzgau@puppet.com> | 2019-10-24 13:58:09 +0300 |
---|---|---|
committer | mihaibuzgau <mihai.buzgau@puppet.com> | 2019-10-24 13:58:09 +0300 |
commit | 283a3f517b183372a61b5eb09ce083f893575eab (patch) | |
tree | d7b6ad71e9eec66f6340082a8a31bbcf82e3378c /hiera.yaml | |
parent | 420f52bc6dbd507e4d0e62a249c82403cb7152fc (diff) | |
download | puppet-hosts_core-283a3f517b183372a61b5eb09ce083f893575eab.tar.gz puppet-hosts_core-283a3f517b183372a61b5eb09ce083f893575eab.tar.bz2 |
(maint) Update module using PDK 1.14.0
Diffstat (limited to 'hiera.yaml')
-rw-r--r-- | hiera.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hiera.yaml b/hiera.yaml new file mode 100644 index 0000000..2251c23 --- /dev/null +++ b/hiera.yaml @@ -0,0 +1,21 @@ +--- +version: 5 + +defaults: # Used for any hierarchy level that omits these keys. + datadir: data # This path is relative to hiera.yaml's directory. + data_hash: yaml_data # Use the built-in YAML backend. + +hierarchy: + - name: "osfamily/major release" + paths: + - "os/%{facts.os.family}/%{facts.os.release.major}.yaml" + # Used for Solaris + - "os/%{facts.os.family}/%{facts.kernelrelease}.yaml" + # Used to distinguish between Debian and Ubuntu + - "os/%{facts.os.name}/%{facts.os.release.major}.yaml" + - name: "osfamily" + paths: + - "os/%{facts.os.family}.yaml" + - "os/%{facts.os.name}.yaml" + - name: 'common' + path: 'common.yaml' |