aboutsummaryrefslogtreecommitdiff
path: root/hiera.yaml
diff options
context:
space:
mode:
authormihaibuzgau <mihai.buzgau@puppet.com>2019-10-24 13:58:07 +0300
committermihaibuzgau <mihai.buzgau@puppet.com>2019-10-24 13:58:07 +0300
commita3346812df3ca47976e13c35712d98a29bd29326 (patch)
tree78bf6c7646c5fb2cc1e94f2ccbf15daae0ec3ada /hiera.yaml
parent0d05d3a96240daa88baec140bbaca550efe68bc6 (diff)
downloadpuppet-augeas_core-a3346812df3ca47976e13c35712d98a29bd29326.tar.gz
puppet-augeas_core-a3346812df3ca47976e13c35712d98a29bd29326.tar.bz2
(maint) Update module using PDK 1.14.0
Diffstat (limited to 'hiera.yaml')
-rw-r--r--hiera.yaml21
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'