summaryrefslogtreecommitdiffstats
path: root/hiera
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-15 02:29:30 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-15 02:41:26 -0400
commit26e5c8cc4f17d65160dcde4d1665031286a32337 (patch)
treeb491ef55c6b384a48347d8c255808d7b49b6f30d /hiera
parentea4fc116c199b378fcf626b6ce636d1b6c6b4807 (diff)
downloadpuppet-tozt-26e5c8cc4f17d65160dcde4d1665031286a32337.tar.gz
puppet-tozt-26e5c8cc4f17d65160dcde4d1665031286a32337.zip
start using hiera
Diffstat (limited to 'hiera')
-rw-r--r--hiera/data/common.yaml2
-rw-r--r--hiera/data/node/mail.yaml2
-rw-r--r--hiera/data/node/partofme.yaml2
-rw-r--r--hiera/data/node/tozt.yaml2
-rw-r--r--hiera/hiera.yaml7
5 files changed, 15 insertions, 0 deletions
diff --git a/hiera/data/common.yaml b/hiera/data/common.yaml
new file mode 100644
index 0000000..d9e1a25
--- /dev/null
+++ b/hiera/data/common.yaml
@@ -0,0 +1,2 @@
+---
+{}
diff --git a/hiera/data/node/mail.yaml b/hiera/data/node/mail.yaml
new file mode 100644
index 0000000..d9e1a25
--- /dev/null
+++ b/hiera/data/node/mail.yaml
@@ -0,0 +1,2 @@
+---
+{}
diff --git a/hiera/data/node/partofme.yaml b/hiera/data/node/partofme.yaml
new file mode 100644
index 0000000..d9e1a25
--- /dev/null
+++ b/hiera/data/node/partofme.yaml
@@ -0,0 +1,2 @@
+---
+{}
diff --git a/hiera/data/node/tozt.yaml b/hiera/data/node/tozt.yaml
new file mode 100644
index 0000000..d9e1a25
--- /dev/null
+++ b/hiera/data/node/tozt.yaml
@@ -0,0 +1,2 @@
+---
+{}
diff --git a/hiera/hiera.yaml b/hiera/hiera.yaml
new file mode 100644
index 0000000..7434a25
--- /dev/null
+++ b/hiera/hiera.yaml
@@ -0,0 +1,7 @@
+---
+version: 5
+hierarchy:
+ - name: Node
+ path: node/%{facts.networking.hostname}.yaml
+ - name: Common
+ path: common.yaml