puppet-sysctl icon indicating copy to clipboard operation
puppet-sysctl copied to clipboard

Question: Systctl parameters set in both /etc/sysctl.conf and /etc/sysctl.d/paramname.conf

Open CalvinHartwell opened this issue 9 years ago • 1 comments

Hey thias, all,

I've just started using the module and I've noticed parameter values I set are placed both in /etc/sysctl.conf and /etc/sysctl.d/paramname.conf.

As /etc/sysctl.conf always has precedence over the conf files in /etc/sysctl.d/, why are they placed in both places? Does this have a benefit or is it for compatibility with multiple operating systems apart from CentOS/RHEL?

Cheers,

  • Calvin

CalvinHartwell avatar Aug 11 '16 13:08 CalvinHartwell

Agree. When $purge is set it should be removing all non-puppet managed values, including those in the above file.

ghost avatar Aug 15 '16 06:08 ghost