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:
parent
bebaf38b55
commit
e19976ade6
|
@ -55,6 +55,8 @@
|
||||||
# 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
|
||||||
|
@ -72,6 +74,7 @@ class designate::backend::bind9 (
|
||||||
$mdns_port = 5354,
|
$mdns_port = 5354,
|
||||||
Array[String[1]] $also_notifies = [],
|
Array[String[1]] $also_notifies = [],
|
||||||
Boolean $configure_bind = true,
|
Boolean $configure_bind = true,
|
||||||
|
# DEPRECATED PARAMETERS
|
||||||
Boolean $manage_pool = true,
|
Boolean $manage_pool = true,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@ -119,5 +122,7 @@ class designate::backend::bind9 (
|
||||||
require => Anchor['designate::service::end'],
|
require => Anchor['designate::service::end'],
|
||||||
subscribe => File['/etc/designate/pools.yaml'],
|
subscribe => File['/etc/designate/pools.yaml'],
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
warning('The manage_pool parameter is deprecated and will be removed in a future release')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
# packets to.
|
# packets to.
|
||||||
# Defaults to [].
|
# Defaults to [].
|
||||||
#
|
#
|
||||||
|
# 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
|
||||||
|
@ -50,6 +52,7 @@ class designate::backend::pdns4 (
|
||||||
String[1] $api_endpoint = 'http://127.0.0.1:8081',
|
String[1] $api_endpoint = 'http://127.0.0.1:8081',
|
||||||
Optional[String[1]] $tsigkey_name = undef,
|
Optional[String[1]] $tsigkey_name = undef,
|
||||||
Array[String[1]] $also_notifies = [],
|
Array[String[1]] $also_notifies = [],
|
||||||
|
# DEPRECATED PARAMETERS
|
||||||
Boolean $manage_pool = true,
|
Boolean $manage_pool = true,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@ -77,5 +80,7 @@ class designate::backend::pdns4 (
|
||||||
require => Anchor['designate::service::end'],
|
require => Anchor['designate::service::end'],
|
||||||
subscribe => File['/etc/designate/pools.yaml'],
|
subscribe => File['/etc/designate/pools.yaml'],
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
warning('The manage_pool parameter is deprecated and will be removed in a future release')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The ``manage_pool`` parameter has been deprecated.
|
Loading…
Reference in New Issue