aboutsummaryrefslogblamecommitdiff
path: root/environments/production/hiera.yaml
blob: 095a110f60e211835ca0dce0bda7398718c96046 (plain) (tree)


















                                                          
---
version: 5

defaults:
  datadir: data
  data_hash: yaml_data

hierarchy:
  - name: "Per-node data"
    path: "nodes/%{facts.ec2_metadata.hostname}.yaml"

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

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

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