ajjahn / puppet-dns

Module for provisioning DNS (bind9)
45 stars 112 forks source link

allow for omitting dnssec-enable #255

Open ansgarwiechers opened 2 years ago

ansgarwiechers commented 2 years ago

The setting dnssec-enable in named.conf.options was deprecated in BIND 9.15 and removed in BIND 9.18. Ubuntu started shipping BIND 9.18 with version 22.04 (Jammy), which produces a config error and fails to start if the setting is present.

This PR allows for omitting dnssec-enable from named.conf.options by setting dns::server::options::dnssec_enable to undef, and also makes undef the default value for Ubuntu 22.04 and above.