puppet-prod/hiera.yaml
Ben Vincent 0ad31f6013 feat: add virtual/physical check
- add virtual tree to hiera
- add virtual/kvm and virtual/physical hiera sources
- add lm_sensors to be installed on hardware nodes
2024-03-31 15:36:41 +11:00

41 lines
2.1 KiB
YAML

---
version: 5
defaults:
datadir: "hieradata"
data_hash: "yaml_data"
hierarchy:
- name: Consolidated Data
paths:
- "nodes/%{trusted.certname}.yaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.eyaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.yaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}/%{::enc_role_tier2}.eyaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}/%{::enc_role_tier2}.yaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}.eyaml"
- "country/%{::country}/region/%{::region}/%{::enc_role_tier1}.yaml"
- "country/%{::country}/roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.eyaml"
- "country/%{::country}/roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.yaml"
- "country/%{::country}/roles/%{::enc_role_tier1}/%{::enc_role_tier2}.eyaml"
- "country/%{::country}/roles/%{::enc_role_tier1}/%{::enc_role_tier2}.yaml"
- "country/%{::country}/roles/%{::enc_role_tier1}.eyaml"
- "country/%{::country}/roles/%{::enc_role_tier1}.yaml"
- "country/%{::country}/region/%{::region}.eyaml"
- "country/%{::country}/region/%{::region}.yaml"
- "country/%{::country}.eyaml"
- "country/%{::country}.yaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.eyaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}/%{::enc_role_tier3}.yaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}.eyaml"
- "roles/%{::enc_role_tier1}/%{::enc_role_tier2}.yaml"
- "roles/%{::enc_role_tier1}.eyaml"
- "roles/%{::enc_role_tier1}.yaml"
- "virtual/%{facts.virtual}.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