From a3346812df3ca47976e13c35712d98a29bd29326 Mon Sep 17 00:00:00 2001 From: mihaibuzgau Date: Thu, 24 Oct 2019 13:58:07 +0300 Subject: (maint) Update module using PDK 1.14.0 --- hiera.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hiera.yaml (limited to 'hiera.yaml') 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' -- cgit v1.2.3