diff options
author | Josh Cooper <josh@puppet.com> | 2019-10-24 09:25:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 09:25:30 -0700 |
commit | d8a221103a87fc3066e56f390d16c56ddf25e44d (patch) | |
tree | c54ac020dd8712d8a2235385ccd5da1e94b14b3c /hiera.yaml | |
parent | 0e6e663b82b12d0d5ce4f2fe0c41e6289c88efae (diff) | |
parent | cb746fccd6afce502072dccd8aa57e2f645d9d45 (diff) | |
download | puppet-cron_core-d8a221103a87fc3066e56f390d16c56ddf25e44d.tar.gz puppet-cron_core-d8a221103a87fc3066e56f390d16c56ddf25e44d.tar.bz2 |
Merge pull request #27 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' |