forked from norcams/himlar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiera.yaml
49 lines (38 loc) · 1.14 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
---
version: 5
defaults:
datadir: hieradata
data_hash: yaml_data
hierarchy:
- name: "Secret data"
paths:
- "secrets/nodes/%{::verified_host}.secrets.yaml"
- "secrets/%{::location}-common.secrets.yaml"
- name: "Nodes"
paths:
- "nodes/%{::location}/%{::verified_host}.yaml"
# - "nodes/%{verified_host}"
- name: "Platform"
paths:
- "%{::location}/platform/%{::os_platform}%{os_version}.yaml"
- "%{::location}/platform/%{::os_platform}.yaml"
- name: "Location roles"
paths:
- "%{::location}/roles/%{::role}-%{::variant}.yaml"
- "%{::location}/roles/%{::role}.yaml"
- name: "Location modules"
glob: "%{::location}/modules/*.yaml"
- name: "Location common"
path: "%{::location}/common.yaml"
- name: "Common platform"
paths:
- "common/platform/%{::os_platform}%{os_version}.yaml"
- "common/platform/%{::os_platform}.yaml"
- name: "Common roles"
paths:
- "common/roles/%{::role}-%{::variant}.yaml"
- "common/roles/%{::role}.yaml"
- name: "Common modules"
glob: "common/modules/*.yaml"
- name: "Common"
path: "common/common.yaml"