2023-02-16 06:44:00 +00:00
|
|
|
# Hiera version 5 configuration
|
|
|
|
#
|
2013-12-19 14:11:19 +00:00
|
|
|
---
|
2023-02-16 06:44:00 +00:00
|
|
|
version: 5
|
|
|
|
defaults:
|
|
|
|
datadir: /etc/hiera/data
|
|
|
|
data_hash: yaml_data
|
2013-12-19 14:11:19 +00:00
|
|
|
|
2023-02-16 06:44:00 +00:00
|
|
|
hierarchy:
|
|
|
|
- name: "Per-node data"
|
|
|
|
path: "local.yaml"
|
2013-12-19 14:11:19 +00:00
|
|
|
|
2023-02-16 06:44:00 +00:00
|
|
|
- name: "Per-group data"
|
|
|
|
path: "group.yaml"
|
2013-12-19 14:11:19 +00:00
|
|
|
|
2023-02-16 06:44:00 +00:00
|
|
|
- name: "Per-host secrets"
|
|
|
|
path: "local.eyaml"
|
|
|
|
lookup_key: eyaml_lookup_key
|
|
|
|
options:
|
|
|
|
pkcs7_private_key: /etc/hiera/eyaml/private_key.pkcs7.pem
|
|
|
|
pkcs7_public_key: /etc/hiera/eyaml/public_certkey.pkcs7.pem
|
2013-12-19 14:11:19 +00:00
|
|
|
|
2023-02-16 06:44:00 +00:00
|
|
|
- name: "Overrides per distribution"
|
2024-06-19 12:07:13 +00:00
|
|
|
path: "dist_%{facts.os.distro.codename}_override.yaml"
|
2013-12-19 14:11:19 +00:00
|
|
|
|
2023-02-16 06:44:00 +00:00
|
|
|
- name: "Data common to whole environment"
|
|
|
|
path: "common.yaml"
|