-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiera.yaml
27 lines (27 loc) · 898 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
---
# https://docs.puppet.com/puppet/latest/environments.html
version: 5
defaults:
datadir: data
data_hash: yaml_data
hierarchy:
- name: "node environment"
path: "env/%{facts.collins.environment}.yaml"
- name: "Per-node data (yaml version)"
path: "nodes/%{::trusted.certname}.yaml"
- name: "Vault nodeclass specific secrets"
glob: "vault/%{facts.collins.nodeclass}/*.yaml"
- name: "Vault shared"
glob: "vault/shared/*.yaml"
- name: "Collins nodeclass"
path: "nodeclass/%{facts.collins.nodeclass}.yaml"
- name: "Collins pool"
path: "pool/%{facts.collins.pool}.yaml"
- name: "Datacenter location"
path: "site/%{facts.collins.site}.yaml"
- name: "Per-Distro defaults"
path: "distro/%{facts.os.distro.codename}.yaml"
- name: "Per-OS defaults"
path: "os/%{facts.os.family}.yaml"
- name: "Other YAML hierarchy levels"
glob: "common/*.yaml"