aboutsummaryrefslogtreecommitdiff
path: root/environments/production/hiera.yaml
blob: a63fc9232bdd3c7075f8779e56bb7bc23f9b1d0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
version: 5

defaults:
  datadir: data
  data_hash: yaml_data

hierarchy:
  - name: "Initialization variables"
    path: "/root/puppet_variables.json"

  - name: "Per-role data"
    mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]

  - name: "Per-type data"
    path: "types/%{facts.ec2_metadata.instance-type}.yaml"

  - name: "Common data"
    path: "common.yaml"