Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle. Change-Id: I8b6ec1d9d4b4302a49c169966ad6c949f4a462f9
This commit is contained in:
parent
12a5b23668
commit
fe51d18781
@ -52,13 +52,6 @@
|
|||||||
# Cluster (NDB).
|
# Cluster (NDB).
|
||||||
# Defaults to $::os_service_default
|
# Defaults to $::os_service_default
|
||||||
#
|
#
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*database_min_pool_size*]
|
|
||||||
# Minimum number of SQL connections to keep open in a pool.
|
|
||||||
# NOTE: This is currently NOT used until barbican correctly leverages oslo.
|
|
||||||
# (Optional) Defaults to undef
|
|
||||||
#
|
|
||||||
class barbican::db (
|
class barbican::db (
|
||||||
$database_connection = 'sqlite:////var/lib/barbican/barbican.sqlite',
|
$database_connection = 'sqlite:////var/lib/barbican/barbican.sqlite',
|
||||||
$database_connection_recycle_time = $::os_service_default,
|
$database_connection_recycle_time = $::os_service_default,
|
||||||
@ -70,16 +63,10 @@ class barbican::db (
|
|||||||
$database_db_max_retries = $::os_service_default,
|
$database_db_max_retries = $::os_service_default,
|
||||||
$database_pool_timeout = $::os_service_default,
|
$database_pool_timeout = $::os_service_default,
|
||||||
$mysql_enable_ndb = $::os_service_default,
|
$mysql_enable_ndb = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$database_min_pool_size = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include barbican::deps
|
include barbican::deps
|
||||||
|
|
||||||
if $database_min_pool_size {
|
|
||||||
warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.')
|
|
||||||
}
|
|
||||||
|
|
||||||
oslo::db { 'barbican_config':
|
oslo::db { 'barbican_config':
|
||||||
connection => $database_connection,
|
connection => $database_connection,
|
||||||
connection_recycle_time => $database_connection_recycle_time,
|
connection_recycle_time => $database_connection_recycle_time,
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``barbican::db::database_min_pool_size`` parameter has been removed.
|
Loading…
Reference in New Issue
Block a user