Skip to content

Commit cd45b32

Browse files
committed
Add OS family to the Hiera hierarchy
Also adds the -family- part to distinguish the RedHat OS family from the RedHat (aka RHEL) OS.
1 parent 6e19b9c commit cd45b32

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

hiera.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ hierarchy:
99
- name: 'Distribution Name'
1010
path: '%{facts.os.name}.yaml'
1111
- name: 'OS Family Major Version'
12-
path: '%{facts.os.family}-%{facts.os.release.major}.yaml'
12+
path: '%{facts.os.family}-family-%{facts.os.release.major}.yaml'
13+
- name: 'OS Family'
14+
path: '%{facts.os.family}-family.yaml'
1315
- name: 'common'
1416
path: 'common.yaml'

0 commit comments

Comments
 (0)