git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authormail_redacted_for_web 2017-11-15 09:24:40 -0800
committermail_redacted_for_web 2017-11-15 09:24:40 -0800
commit7264b63d10ca828aff611d94aa730cc5451a7a5c (patch)
treee2f9ea54d4a8b952fb40b877622aa251e9182a38 /data
parent05d76209621179034a1ef67a413f4f45ce0970f8 (diff)
downloadcontrol-repo-template-7264b63d10ca828aff611d94aa730cc5451a7a5c.tar.bz2
Enable Hiera 5
This commit enables the control repo to use Hiera 5 environment-level hiera hierarchy. This means adding a hiera.yaml to the repo, and moving hieradata/ => data/. We should do this to the control-repo template new customers base off of because in a Hiera 5 world, the global hiera.yaml should be very minimal (possibly even ONLY having the console level), and everything else (nodes, common) belongs in the environment hiera.yaml. This control-repo template is how people start using Puppet. It should reflect using our most modern technologies.
Diffstat (limited to 'data')
-rw-r--r--data/common.yaml2
-rw-r--r--data/nodes/example-node.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/data/common.yaml b/data/common.yaml
new file mode 100644
index 0000000..2baa62b
--- /dev/null
+++ b/data/common.yaml
@@ -0,0 +1,2 @@
+---
+message: "This node is using common data"
diff --git a/data/nodes/example-node.yaml b/data/nodes/example-node.yaml
new file mode 100644
index 0000000..ed97d53
--- /dev/null
+++ b/data/nodes/example-node.yaml
@@ -0,0 +1 @@
+---