forked from tag1consulting/puppet-centos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiera.yaml
28 lines (24 loc) · 785 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
28
---
# JSON backend contains private info, and that needs to be checked first.
:backends:
- json
- yaml
:yaml:
:datadir: hiera
:json:
:datadir: hiera_private
# We use deeper merge to be able to merge multi-level hashes (e.g. user accounts).
:merge_behavior: deeper
# Hierarchy for our configuration.
# Most specific definitions come first, ending with global defaults.
:hierarchy:
- hosts/%{fqdn}
- hostenv/%{hostenv}/%{hosttype}-osrelease-%{operatingsystemmajrelease}
- hostenv/%{hostenv}/%{hosttype}
- hostenv/%{hostenv}/common-osrelease-%{operatingsystemmajrelease}
- hostenv/%{hostenv}/common
- types/%{hosttype}-osrelease-%{operatingsystemmajrelease}
- types/%{hosttype}
- virtual/%{virtual}
- common-osrelease-%{operatingsystemmajrelease}
- common