-
Notifications
You must be signed in to change notification settings - Fork 9
/
hiera.yaml
38 lines (34 loc) · 1.2 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
---
# Docs:
# https://puppet.com/docs/puppet/7/environments_creating.html
# https://puppet.com/docs/puppet/7/hiera_config_yaml_5.html
version: 5
defaults:
datadir: hieradata
data_hash: yaml_data
hierarchy:
- name: "Private node data"
path: "nodes/%{::trusted.certname}.yaml"
datadir: /srv/git/puppet/private/hieradata
- name: "Public node data"
path: "nodes/%{::trusted.certname}.yaml"
- name: "Private environment role data"
path: "environments/%{::environment}/roles/%{::_role}.yaml"
datadir: /srv/git/puppet/private/hieradata
- name: "Public environment role data"
path: "environments/%{::environment}/roles/%{::_role}.yaml"
- name: "Private environment data"
path: "environments/%{::environment}/common.yaml"
datadir: /srv/git/puppet/private/hieradata
- name: "Public environment data"
path: "environments/%{::environment}/common.yaml"
- name: "Private role data"
path: "roles/%{::_role}.yaml"
datadir: /srv/git/puppet/private/hieradata
- name: "Public role data"
path: "roles/%{::_role}.yaml"
- name: "Private common data"
path: "common.yaml"
datadir: /srv/git/puppet/private/hieradata
- name: "Public common data"
path: "common.yaml"