diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-13 10:20:17 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-13 11:15:08 +0100 |
commit | a869ea173f9a1e45f63336ad9d640bf94e5039e3 (patch) | |
tree | 2fd1df3a6c0c34b87499b2606e0cd45faf5e6861 /environments/integration/hiera.yaml | |
parent | 56bc60ea5e9ae11872d3e3d388adb7c5ada0c2c9 (diff) | |
download | Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.gz Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.zst Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.zip |
Refactor hiera environments
Diffstat (limited to 'environments/integration/hiera.yaml')
l---------[-rw-r--r--] | environments/integration/hiera.yaml | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/environments/integration/hiera.yaml b/environments/integration/hiera.yaml index a63fc92..91d9bbf 100644..120000 --- a/environments/integration/hiera.yaml +++ b/environments/integration/hiera.yaml | |||
@@ -1,19 +1 @@ | |||
1 | --- | ../hiera.yaml \ No newline at end of file | |
2 | version: 5 | ||
3 | |||
4 | defaults: | ||
5 | datadir: data | ||
6 | data_hash: yaml_data | ||
7 | |||
8 | hierarchy: | ||
9 | - name: "Initialization variables" | ||
10 | path: "/root/puppet_variables.json" | ||
11 | |||
12 | - name: "Per-role data" | ||
13 | mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] | ||
14 | |||
15 | - name: "Per-type data" | ||
16 | path: "types/%{facts.ec2_metadata.instance-type}.yaml" | ||
17 | |||
18 | - name: "Common data" | ||
19 | path: "common.yaml" | ||