However, the configured hierarchy only looks up the OS by facts.os.name which means RedHat.yaml doesn't apply settings to RHEL clones e.g. CentOS, Rocky, Alma.
This is currently preventing the sysconfig file being configured on these systems and the wrong path is being used for the opendkim users shell.
This PR adds a facts.os.family lookup to the hierarchy so all RedHat family OS' get the settings from RedHat.yaml
In #35 OS specific config was moved to hiera.
However, the configured hierarchy only looks up the OS by facts.os.name which means RedHat.yaml doesn't apply settings to RHEL clones e.g. CentOS, Rocky, Alma.
This is currently preventing the sysconfig file being configured on these systems and the wrong path is being used for the opendkim users shell.
This PR adds a facts.os.family lookup to the hierarchy so all RedHat family OS' get the settings from RedHat.yaml