aboutsummaryrefslogtreecommitdiff
path: root/environments/production/hiera.yaml
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-13 10:20:17 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-13 11:15:08 +0100
commita869ea173f9a1e45f63336ad9d640bf94e5039e3 (patch)
tree2fd1df3a6c0c34b87499b2606e0cd45faf5e6861 /environments/production/hiera.yaml
parent56bc60ea5e9ae11872d3e3d388adb7c5ada0c2c9 (diff)
downloadPuppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.gz
Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.zst
Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.zip
Refactor hiera environments
Diffstat (limited to 'environments/production/hiera.yaml')
l---------[-rw-r--r--]environments/production/hiera.yaml20
1 files changed, 1 insertions, 19 deletions
diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml
index a63fc92..91d9bbf 100644..120000
--- a/environments/production/hiera.yaml
+++ b/environments/production/hiera.yaml
@@ -1,19 +1 @@
1--- ../hiera.yaml \ No newline at end of file
2version: 5
3
4defaults:
5 datadir: data
6 data_hash: yaml_data
7
8hierarchy:
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"