-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathhiera.yaml
29 lines (28 loc) · 909 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:
datadir: data
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: /etc/puppetlabs/puppet/keys/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/keys/public_key.pkcs7.pem
hierarchy:
# - name: "ServiceNow Hiera data"
# data_hash: servicenow_cmdb_integration::getvar
# options:
# var: trusted.external.servicenow.hiera_data
- name: 'Environment data'
paths:
- 'nodes/%{facts.clientcert}.yaml'
- 'nodes/%{facts.networking.fqdn}.yaml'
- 'location/%{::location}/%{::role}.yaml'
- 'role/%{::tier}/%{::role}.yaml'
- 'role/%{::role}.yaml'
- 'location/%{::location}.yaml'
- 'os/%{facts.os.name}.yaml'
- 'sce/%{facts.os.name}/%{facts.os.release.major}.yaml'
- 'sce/sce_defaults.yaml'
- 'common.yaml'
- name: 'Local data'
paths:
- '/etc/puppetlabs/puppet/local.yaml'