-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiera.yaml
29 lines (28 loc) · 945 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
28
29
---
version: 5
defaults:
hierarchy:
- name: "public hiera"
lookup_key: eyaml_lookup_key # eyaml backend
datadir: "/etc/puppetlabs/code/environments/%{environment}/data"
paths:
- "node/%{fqdn}.yaml"
- "site/%{site}/role/%{role}.yaml"
- "site/%{site}.yaml"
- "role/%{role}.yaml"
- "common.yaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem
- name: "private hiera"
lookup_key: eyaml_lookup_key
datadir: "/etc/puppetlabs/code/data/private/%{environment}"
paths:
- "node/%{fqdn}.yaml"
- "site/%{site}/role/%{role}.yaml"
- "site/%{site}.yaml"
- "role/%{role}.yaml"
- "common.yaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem