git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2017-11-16 15:58:30 -0800
committermail_redacted_for_web 2017-11-16 15:58:30 -0800
commit4aa14463232c354f129bd1e78b5f23373cfebaa7 (patch)
tree883739f3d7da47b95e88c40ef92ef2f42e6a6a81
parent53d4c56136645790a95d545065c01f405f2775fa (diff)
parent7264b63d10ca828aff611d94aa730cc5451a7a5c (diff)
downloadcontrol-repo-template-4aa14463232c354f129bd1e78b5f23373cfebaa7.tar.bz2
Merge pull request #53 from reidmv/hiera5
Enable Hiera 5
-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'