git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/common.yaml (renamed from hieradata/common.yaml)0
-rw-r--r--data/nodes/example-node.yaml (renamed from hieradata/nodes/example-node.yaml)0
-rw-r--r--hiera.yaml12
3 files changed, 12 insertions, 0 deletions
diff --git a/hieradata/common.yaml b/data/common.yaml
index 2baa62b..2baa62b 100644
--- a/hieradata/common.yaml
+++ b/data/common.yaml
diff --git a/hieradata/nodes/example-node.yaml b/data/nodes/example-node.yaml
index ed97d53..ed97d53 100644
--- a/hieradata/nodes/example-node.yaml
+++ b/data/nodes/example-node.yaml
diff --git a/hiera.yaml b/hiera.yaml
new file mode 100644
index 0000000..912ba45
--- /dev/null
+++ b/hiera.yaml
@@ -0,0 +1,12 @@
+---
+version: 5
+
+defaults:
+ datadir: "data"
+
+hierarchy:
+ - name: 'Yaml backend'
+ data_hash: yaml_data
+ paths:
+ - "nodes/%{trusted.certname}.yaml"
+ - 'common.yaml'