Deprecate configuration support of BIND 9

Current implementation has a limited capability and is not suitable for
production use. This deprecates it to encourage people to use
puppet-dns (or any other different tools) to set up BIND 9 separately.

Change-Id: I2a53e927053abe13aa64de1b7f8207142e021d1a
This commit is contained in:
Takashi Kajinami 2023-10-31 15:30:28 +09:00
parent e19976ade6
commit 2896fe16c0
2 changed files with 11 additions and 3 deletions

View File

@ -50,13 +50,13 @@
# packets to.
# Defaults to [].
#
# DEPRECATED PARAMETERS
#
# [*configure_bind*]
# (Optional) Enables running bind9/named configuration for hosts where
# designate and designate bind services are collocated.
# Defaults to true
#
# DEPRECATED PARAMETERS
#
# [*manage_pool*]
# (Optional) Manage pools.yaml and update pools by designate-manage command
# Defaults to true
@ -73,8 +73,8 @@ class designate::backend::bind9 (
Array[String[1], 1] $mdns_hosts = ['127.0.0.1'],
$mdns_port = 5354,
Array[String[1]] $also_notifies = [],
Boolean $configure_bind = true,
# DEPRECATED PARAMETERS
Boolean $configure_bind = true,
Boolean $manage_pool = true,
) {
@ -82,6 +82,9 @@ class designate::backend::bind9 (
include designate::params
if $configure_bind {
warning("Configuragion of BIND 9 by designate::backend::bind9 is deprecated \
and will be removed in a future release.")
$dns_additional_options = {
'allow-new-zones' => 'yes',
# Recommended by Designate docs as a mitigation for potential cache

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Configuration of BIND 9 service using the ``designate::backend::bind9``
class has been deprecated and will be removed.