-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiera.yaml
23 lines (22 loc) · 864 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
---
version: 5
defaults:
# The default value for "datadir" is "data" under the same directory as the hiera.yaml
# file (this file)
# When specifying a datadir, make sure the directory exists.
# See https://puppet.com/docs/puppet/latest/environments_about.html for further details on environments.
# datadir: data
# data_hash: yaml_data
hierarchy:
- name: "puppet infrastructure config"
path: "puppet_type/%{::puppet_type}.yaml"
- name: "Per-node data (yaml version)"
path: "nodes/%{::trusted.certname}.yaml"
- name: "collection, a group of hosts with a similar role, that work together"
path: "collection/${::collection_id}.yaml"
- name: "common host types/applications same as a role"
path: "roles/%{::role}.yaml"
- name: "test hiera"
path: "test/%{facts.testfact}.yaml"
- name: "Bottom Layer"
path: "common.yaml"