Use structured facts in hiera.yaml
Legacy facts are no longer enabled by default since Puppet 8. Change-Id: I2f97154115a120d944034b72260e4bee66553bff
This commit is contained in:
parent
d18e75f05d
commit
95222a53aa
@ -147,9 +147,9 @@ defaults:
|
||||
data_hash: yaml_data
|
||||
hierarchy:
|
||||
- name: "OS specific"
|
||||
path: "%{::operatingsystem}.yaml"
|
||||
path: "%{facts.os.name}.yaml"
|
||||
- name: "OS family specific"
|
||||
path: "%{::osfamily}.yaml"
|
||||
path: "%{facts.os.family}.yaml"
|
||||
- name: "Common"
|
||||
path: "common.yaml"
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user