-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
52 lines (49 loc) · 1.81 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
45
46
47
48
49
50
51
52
---
version: 5
defaults:
datadir: data
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: '/etc/eyaml/keys/private_key.pkcs7.pem'
pkcs7_public_key: '/etc/eyaml/keys/public_key.pkcs7.pem'
hierarchy:
# Relating to specific instances
- name: 'Nodes'
paths:
- "private/node/%{trusted.certname}.yaml"
- "node/%{trusted.certname}.yaml"
- name: 'Clusters'
paths:
- "private/cluster/%{trusted.extensions.pp_cluster}.yaml"
- "cluster/%{trusted.extensions.pp_cluster}.yaml"
# Generic build data
- name: 'Platforms'
paths:
- "private/platform/%{facts.profile.platform}.yaml"
- "platform/%{facts.profile.platform}.yaml"
- name: 'CPUs'
paths:
- "private/cpu/%{facts.profile.cpu}.yaml"
- "cpu/%{facts.profile.cpu}.yaml"
- name: 'Architectures'
paths:
- "private/arch/%{facts.profile.architecture}.yaml"
- "arch/%{facts.profile.architecture}.yaml"
- name: 'Builds'
paths:
- "private/build/%{facts.os.family}/%{facts.build}/%{facts.build}.yaml"
- "build/%{facts.os.family}/%{facts.build}/%{facts.build}.yaml"
- "private/build/%{facts.os.family}/%{facts.build}/%{facts.profile.role}.yaml"
- "build/%{facts.os.family}/%{facts.build}/%{facts.profile.role}.yaml"
- "private/build/%{facts.os.family}/%{facts.build}/stage3.yaml"
- "build/%{facts.os.family}/%{facts.build}/stage3.yaml"
- "private/build/%{facts.os.family}/%{facts.build}/stage2.yaml"
- "build/%{facts.os.family}/%{facts.build}/stage2.yaml"
- "private/build/%{facts.os.family}/%{facts.build}/stage1.yaml"
- "build/%{facts.os.family}/%{facts.build}/stage1.yaml"
- "private/build/%{facts.os.family}.yaml"
- "build/%{facts.os.family}.yaml"
- name: 'Common'
paths:
- 'private/common.yaml'
- 'common.yaml'