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:
parent
e19976ade6
commit
2896fe16c0
|
@ -50,13 +50,13 @@
|
||||||
# packets to.
|
# packets to.
|
||||||
# Defaults to [].
|
# Defaults to [].
|
||||||
#
|
#
|
||||||
|
# DEPRECATED PARAMETERS
|
||||||
|
#
|
||||||
# [*configure_bind*]
|
# [*configure_bind*]
|
||||||
# (Optional) Enables running bind9/named configuration for hosts where
|
# (Optional) Enables running bind9/named configuration for hosts where
|
||||||
# designate and designate bind services are collocated.
|
# designate and designate bind services are collocated.
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
#
|
#
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*manage_pool*]
|
# [*manage_pool*]
|
||||||
# (Optional) Manage pools.yaml and update pools by designate-manage command
|
# (Optional) Manage pools.yaml and update pools by designate-manage command
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
|
@ -73,8 +73,8 @@ class designate::backend::bind9 (
|
||||||
Array[String[1], 1] $mdns_hosts = ['127.0.0.1'],
|
Array[String[1], 1] $mdns_hosts = ['127.0.0.1'],
|
||||||
$mdns_port = 5354,
|
$mdns_port = 5354,
|
||||||
Array[String[1]] $also_notifies = [],
|
Array[String[1]] $also_notifies = [],
|
||||||
Boolean $configure_bind = true,
|
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
|
Boolean $configure_bind = true,
|
||||||
Boolean $manage_pool = true,
|
Boolean $manage_pool = true,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@ -82,6 +82,9 @@ class designate::backend::bind9 (
|
||||||
include designate::params
|
include designate::params
|
||||||
|
|
||||||
if $configure_bind {
|
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 = {
|
$dns_additional_options = {
|
||||||
'allow-new-zones' => 'yes',
|
'allow-new-zones' => 'yes',
|
||||||
# Recommended by Designate docs as a mitigation for potential cache
|
# Recommended by Designate docs as a mitigation for potential cache
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Configuration of BIND 9 service using the ``designate::backend::bind9``
|
||||||
|
class has been deprecated and will be removed.
|
Loading…
Reference in New Issue