aboutsummaryrefslogtreecommitdiff
path: root/environments
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:02:30 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:10:18 +0100
commite8493916ff6e957c752df1cfc1789844c426d987 (patch)
tree1cdabf5c650331e14ff4df2dd4e3b85b719b9cb8 /environments
parentc443842eae41fb28d5608acfd303106e5f24798a (diff)
downloadPuppet-e8493916ff6e957c752df1cfc1789844c426d987.tar.gz
Puppet-e8493916ff6e957c752df1cfc1789844c426d987.tar.zst
Puppet-e8493916ff6e957c752df1cfc1789844c426d987.zip
Add ldap backend for hiera lookup
Diffstat (limited to 'environments')
-rw-r--r--environments/hiera.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/environments/hiera.yaml b/environments/hiera.yaml
index 5a9a6d6..eda5eb3 100644
--- a/environments/hiera.yaml
+++ b/environments/hiera.yaml
@@ -9,6 +9,9 @@ hierarchy:
9 - name: "Initialization variables" 9 - name: "Initialization variables"
10 path: "/root/puppet_variables.json" 10 path: "/root/puppet_variables.json"
11 11
12 - name: "Puppet ldap variables"
13 data_hash: ldap_data
14
12 - name: "Per-role environment data" 15 - name: "Per-role environment data"
13 mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] 16 mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
14 17