aboutsummaryrefslogblamecommitdiff
path: root/environments/hiera.yaml
blob: 5a9a6d68958ed81a698224b79492e88b64fbdd0b (plain) (tree)































                                                                       
---
version: 5

defaults:
  datadir: .
  data_hash: yaml_data

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

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

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

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

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

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

  - name: "Common global data"
    path: "common.yaml"
    datadir: ../global