From 85abd2fdbad83430df4824843764719064afb9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 3 Mar 2018 22:24:19 +0100 Subject: Fetch node informations from LDAP environment, hostname --- environments/integration/hiera.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 environments/integration/hiera.yaml (limited to 'environments/integration/hiera.yaml') diff --git a/environments/integration/hiera.yaml b/environments/integration/hiera.yaml new file mode 100644 index 0000000..a63fc92 --- /dev/null +++ b/environments/integration/hiera.yaml @@ -0,0 +1,19 @@ +--- +version: 5 + +defaults: + datadir: data + data_hash: yaml_data + +hierarchy: + - name: "Initialization variables" + path: "/root/puppet_variables.json" + + - name: "Per-role data" + mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] + + - name: "Per-type data" + path: "types/%{facts.ec2_metadata.instance-type}.yaml" + + - name: "Common data" + path: "common.yaml" -- cgit v1.2.3