-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
22 lines (22 loc) · 795 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
---
version: 5
defaults:
datadir: data # datadir by default moved to 'defaults' folder
data_hash: yaml_data # Default backend
hierarchy:
- path: "private/hostname/%{trusted.certname}.yaml"
name: "Per hostname credentials"
- path: "hostname/%{trusted.certname}.yaml"
name: "Per hostname settings"
- path: "deployments/%{::deployment}/%{::subnet}.yaml"
name: "Per-deployment and subnet settings"
- path: "deployments/%{::deployment}/common.yaml"
name: "Per-deployment settings"
- path: "private/subnets/%{::subnet}.yaml"
name: "Per subnet private credentials"
- path: "subnets/%{::subnet}.yaml"
name: "Per subnet settings"
- path: "private/common.yaml"
name: "Common private credentials"
- glob: "common/*.yaml"
name: "Common settings"