]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - environments/hiera.yaml
Merge branch 'dev'
[perso/Immae/Projets/Puppet.git] / environments / hiera.yaml
1 ---
2 version: 5
3
4 defaults:
5 datadir: .
6 data_hash: yaml_data
7
8 hierarchy:
9 - name: "Initialization variables"
10 path: "/root/puppet_variables.json"
11
12 - name: "Per-role environment data"
13 mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
14
15 - name: "Per-role global data"
16 mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
17 datadir: ../global
18
19 - name: "Per-type environment data"
20 path: "types/%{facts.ec2_metadata.instance-type}.yaml"
21
22 - name: "Per-type global data"
23 path: "types/%{facts.ec2_metadata.instance-type}.yaml"
24 datadir: ../global
25
26 - name: "Common environment data"
27 path: "common.yaml"
28
29 - name: "Common global data"
30 path: "common.yaml"
31 datadir: ../global
32