puppet-prod/hiera.yaml
2023-12-28 17:30:26 +11:00

26 lines
952 B
YAML

---
version: 5
defaults:
datadir: "hieradata"
data_hash: "yaml_data"
hierarchy:
- name: Consolidated Data
paths:
- "nodes/%{trusted.certname}.yaml"
- "roles/%{::enc_role_tier1}.eyaml"
- "roles/%{::enc_role_tier1}.yaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}.eyaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}.yaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.eyaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.yaml"
- "%{::enc_role_path}.eyaml"
- "%{::enc_role_path}.yaml"
- "os/%{facts.os.name}/%{facts.os.name}%{facts.os.release.major}.yaml"
- "os/%{facts.os.name}/all_releases.yaml"
- "common.eyaml"
- "common.yaml"
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: /var/lib/puppet/keys/private_key.pkcs7.pem
pkcs7_public_key: /var/lib/puppet/keys/public_key.pkcs7.pem