From 4048e12efcb52a63f0304e679dc6c6e96a139146 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Wed, 22 Jun 2022 09:49:37 +0200 Subject: initial --- 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..545fff3 --- /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: + # Used to distinguish between Debian and Ubuntu + - "os/%{facts.os.name}/%{facts.os.release.major}.yaml" + - "os/%{facts.os.family}/%{facts.os.release.major}.yaml" + # Used for Solaris + - "os/%{facts.os.family}/%{facts.kernelrelease}.yaml" + - name: "osfamily" + paths: + - "os/%{facts.os.name}.yaml" + - "os/%{facts.os.family}.yaml" + - name: 'common' + path: 'common.yaml' -- cgit v1.2.3