From 26e5c8cc4f17d65160dcde4d1665031286a32337 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 15 Jun 2020 02:29:30 -0400 Subject: start using hiera --- hiera/data/common.yaml | 2 ++ hiera/data/node/mail.yaml | 2 ++ hiera/data/node/partofme.yaml | 2 ++ hiera/data/node/tozt.yaml | 2 ++ hiera/hiera.yaml | 7 +++++++ 5 files changed, 15 insertions(+) create mode 100644 hiera/data/common.yaml create mode 100644 hiera/data/node/mail.yaml create mode 100644 hiera/data/node/partofme.yaml create mode 100644 hiera/data/node/tozt.yaml create mode 100644 hiera/hiera.yaml (limited to 'hiera') 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 -- cgit v1.2.3-54-g00ecf