Closed ikonia closed 2 years ago
excellent feedback, happy to make the changes, I got the warning on my CentOS 8 bind host though, so I will go back and double check the version on that.
do I need to look at the rspec test suites on this as while the module works fine on EL9 (which is where the test suite is failing) I'm not sure if these tests are known to fail, or if I should dig into them and look to update them. If they are expected passes I can look into updating them
Yes, the failures are caused by your change.
thank you, I'll look at the tests now.
tests updated, thanks for the help
validated against EL (Redhat / CentOS / Rocky) 7 - 8 - 9 functions correctly. Basic test against Fedora 35, which also works
Adds check of EL version greater than 7 and sets dnssec_enable parameter to undef if greater to allow the removal of the parameter from options.conf, which is a deprecated parameter in EL8 and later. This removes any warning in 9.15 and any breakage in 9.18 or later. Any version EL 7 or earlier includes the parameter allowing the user to set it on and off depending on if they want to use it, but the parameter is included as a valid parameter