-
Notifications
You must be signed in to change notification settings - Fork 1
/
hiera.yaml
44 lines (42 loc) · 1.4 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
version: 5
defaults:
datadir: hieradata
data_hash: yaml_data
hierarchy:
- name: "Top level private site settings"
datadir: modules/site_private/hieradata
paths:
- "nodes/%{::trusted.certname}.yaml"
- "firewall/defaults.yaml"
- "firewall/%{::node_info.firewall}.yaml"
- "users/site_admins.yaml"
- "users/dice_service_accounts.yaml"
- "users/poolaccounts.yaml"
- "users/%{::node_info.users}.yaml"
- "users/%{::node_info.admin_accounts}.yaml"
- name: "Foreman hostgroups"
mapped_paths: [sorted_path_array, tmp, "hostgroups/%{tmp}.yaml"]
- name: "Top level public site settings"
paths:
- "virtual/%{::is_virtual}.yaml"
- "generation/%{::node_info.generation}.yaml"
- "groups/%{::node_info.group}.yaml"
- "roles/%{::node_info.role}.yaml"
- name: "Common private site settings"
datadir: modules/site_private/hieradata
paths:
- "cluster/%{::node_info.cluster}.yaml"
- common.yaml
- name: 'Secrets'
datadir: modules/site_private/hieradata
paths:
- secrets.eyaml
- "nodes/%{::trusted.certname}.eyaml"
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: /etc/puppetlabs/puppet/secure/keys/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/secure/keys/public_key.pkcs7.pem
- name: "Common public site settings"
datadir: hieradata
path: common.yaml