diff options
author | mihaibuzgau <mihai.buzgau@puppet.com> | 2019-10-24 13:58:09 +0300 |
---|---|---|
committer | mihaibuzgau <mihai.buzgau@puppet.com> | 2019-10-24 16:41:14 +0300 |
commit | cb746fccd6afce502072dccd8aa57e2f645d9d45 (patch) | |
tree | c54ac020dd8712d8a2235385ccd5da1e94b14b3c /hiera.yaml | |
parent | 0e6e663b82b12d0d5ce4f2fe0c41e6289c88efae (diff) | |
download | puppet-cron_core-cb746fccd6afce502072dccd8aa57e2f645d9d45.tar.gz puppet-cron_core-cb746fccd6afce502072dccd8aa57e2f645d9d45.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' |