diff options
author | Josh Cooper <josh@puppet.com> | 2019-10-24 09:21:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 09:21:18 -0700 |
commit | 4d06bf11e5ea8d33d7675728f1c40796c5973e1d (patch) | |
tree | 6150f4532bd1436eb9b8c983efae42ed8fc0ccc9 /hiera.yaml | |
parent | 0d05d3a96240daa88baec140bbaca550efe68bc6 (diff) | |
parent | f36a76412cc17ba707077c912267f608ed2520f3 (diff) | |
download | puppet-augeas_core-4d06bf11e5ea8d33d7675728f1c40796c5973e1d.tar.gz puppet-augeas_core-4d06bf11e5ea8d33d7675728f1c40796c5973e1d.tar.bz2 |
Merge pull request #21 from puppetlabs/pdksync_update-pdk
pdksync - (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' |