lvicainne / puppet-opendkim

Puppet module for opendkim
https://forge.puppetlabs.com/lvicainne/opendkim
Other
5 stars 32 forks source link

Lookup osfamily for RedHat clones #43

Closed msalway closed 8 months ago

msalway commented 8 months ago

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

lvicainne commented 8 months ago

Thanks a lot for your contribution here