Deprecate manage_pool parameters

The designate::backend::bind9 class and the designate::backend::pdns4
class configures (almost) nothing in case manage_pool parameter is
false, so these parameters are just redundant.

Change-Id: I82ec568c27b8fc5ee167b1451f159cfe7a915290
This commit is contained in:
Takashi Kajinami 2023-10-31 15:35:43 +09:00
parent bebaf38b55
commit e19976ade6
3 changed files with 14 additions and 0 deletions

View File

@ -55,6 +55,8 @@
# 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
@ -72,6 +74,7 @@ class designate::backend::bind9 (
$mdns_port = 5354,
Array[String[1]] $also_notifies = [],
Boolean $configure_bind = true,
# DEPRECATED PARAMETERS
Boolean $manage_pool = true,
) {
@ -119,5 +122,7 @@ class designate::backend::bind9 (
require => Anchor['designate::service::end'],
subscribe => File['/etc/designate/pools.yaml'],
}
} else {
warning('The manage_pool parameter is deprecated and will be removed in a future release')
}
}

View File

@ -37,6 +37,8 @@
# packets to.
# Defaults to [].
#
# DEPRECATED PARAMETERS
#
# [*manage_pool*]
# (Optional) Manage pools.yaml and update pools by designate-manage command
# Defaults to true
@ -50,6 +52,7 @@ class designate::backend::pdns4 (
String[1] $api_endpoint = 'http://127.0.0.1:8081',
Optional[String[1]] $tsigkey_name = undef,
Array[String[1]] $also_notifies = [],
# DEPRECATED PARAMETERS
Boolean $manage_pool = true,
) {
@ -77,5 +80,7 @@ class designate::backend::pdns4 (
require => Anchor['designate::service::end'],
subscribe => File['/etc/designate/pools.yaml'],
}
} else {
warning('The manage_pool parameter is deprecated and will be removed in a future release')
}
}

View File

@ -0,0 +1,4 @@
---
features:
- |
The ``manage_pool`` parameter has been deprecated.