summaryrefslogtreecommitdiff
path: root/hiera.yaml
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 01:46:46 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-06 18:31:17 +0200
commit812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9 (patch)
tree109619457ac9b9028eae7297c4f72deadad68c52 /hiera.yaml
parenttmp disable creation. (diff)
downloaddns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.gz
dns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.xz
"Working" product.
Diffstat (limited to 'hiera.yaml')
-rw-r--r--hiera.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/hiera.yaml b/hiera.yaml
new file mode 100644
index 0000000..42772e2
--- /dev/null
+++ b/hiera.yaml
@@ -0,0 +1,16 @@
+---
+version: 5
+defaults:
+ datadir: data
+ data_hash: yaml_data
+
+hierarchy:
+ - name: osfamily/release
+ paths:
+ - "os/%{facts.os.name}/%{facts.os.release.major}.yaml"
+ - name: osfamily
+ paths:
+ - "os/%{facts.os.name}.yaml"
+ - "os/%{facts.os.family}.yaml"
+ - name: common
+ path: common.yaml