diff options
Diffstat (limited to 'environments/production/hiera.yaml')
-rw-r--r-- | environments/production/hiera.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml index f5e5bc2..44c7ecd 100644 --- a/environments/production/hiera.yaml +++ b/environments/production/hiera.yaml | |||
@@ -6,8 +6,14 @@ defaults: | |||
6 | data_hash: yaml_data | 6 | data_hash: yaml_data |
7 | 7 | ||
8 | hierarchy: | 8 | hierarchy: |
9 | # FIXME: those informations should be taken in LDAP, but bootstrap | ||
10 | # problem for the hostname | ||
11 | - name: "Per-named-node data" | ||
12 | mapped_paths: [ldapvar.self.cn, hostname, "named_nodes/%{hostname}.yaml"] | ||
13 | |||
9 | - name: "Per-node data" | 14 | - name: "Per-node data" |
10 | path: "nodes/%{facts.ec2_metadata.hostname}.yaml" | 15 | path: "nodes/%{facts.ec2_metadata.hostname}.yaml" |
16 | ### /FIXME | ||
11 | 17 | ||
12 | - name: "Per-role data" | 18 | - name: "Per-role data" |
13 | mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] | 19 | mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] |