-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
27 lines (26 loc) · 976 Bytes
/
hiera.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
version: 5
defaults:
datadir: hieradata
data_hash: yaml_data
hierarchy:
- name: "Encrypted Hiera Paths for node, environment, apps, roles, and os."
lookup_key: eyaml_lookup_key
paths:
- "node/%{facts.domain}/%{facts.hostname}.eyaml"
- "domain/%{facts.domain}.eyaml"
- "os/%{facts.os.family}.eyaml"
- "env/%{trusted.extensions.pp_environment}.eyaml"
- "role/%{trusted.extensions.pp_role}.eyaml"
- "secrets/common.eyaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem
- name: "Hiera Paths for node, environment, apps, roles, and os."
paths:
- "node/%{facts.domain}/%{facts.hostname}.yaml"
- "domain/%{facts.domain}.yaml"
- "os/%{facts.os.family}.yaml"
- "env/%{trusted.extensions.pp_environment}.yaml"
- "role/%{trusted.extensions.pp_role}.yaml"
- "common.yaml"