Skip to content

Commit f73033f

Browse files
Rick GardnerRick Gardner
Rick Gardner
authored and
Rick Gardner
committed
updated hiera.yml facts to work with puppet 8
1 parent 3ad5100 commit f73033f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hiera.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ defaults:
55
data_hash: yaml_data
66
hierarchy:
77
- name: "OS + Release"
8-
path: "os/%{facts.operatingsystem}-%{facts.operatingsystemmajrelease}.yaml"
8+
path: "os/%{facts.os.name}-%{facts.os.release.major}.yaml"
99
- name: "OS"
10-
path: "os/%{facts.operatingsystem}.yaml"
10+
path: "os/%{facts.os.name}.yaml"
1111
- name: "Kernel"
1212
path: "os/%{facts.kernel}.yaml"
1313
- name: "Common"

0 commit comments

Comments
 (0)