forked from fervidus/artifactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
31 lines (22 loc) · 831 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
29
30
31
---
version: 5
defaults: # Used for any hierarchy level that omits these keys.
datadir: data # This path is relative to hiera.yaml's directory.
data_hash: yaml_data # Use the built-in YAML backend.
hierarchy:
- name: 'Set important hiera options'
path: "hiera_options.yaml"
- name: 'Distribution Full Version'
path: '%{facts.os.name}-%{facts.os.release.full}.yaml'
- name: 'Distribution Major Version'
path: '%{facts.os.name}-%{facts.os.release.major}.yaml'
- name: 'Distribution Name'
path: '%{facts.os.name}.yaml'
- name: 'OS Family Major Version'
path: '%{facts.os.family}-%{facts.os.release.major}-family.yaml'
- name: 'OS Family'
path: '%{facts.os.family}-family.yaml'
- name: 'OS Kernel'
path: '%{facts.kernel}.yaml'
- name: 'common'
path: 'common.yaml'