From 7a17d41aa6b91d5c46434a7e4130f68dd2d75861 Mon Sep 17 00:00:00 2001 From: mihaibuzgau Date: Thu, 31 Oct 2019 14:27:14 +0200 Subject: Prep for release --- 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