Merge "Deprecate classes to set up Ceilometer DB"

This commit is contained in:
Zuul 2022-06-20 19:38:10 +00:00 committed by Gerrit Code Review
commit 3f9fa0dc6f
4 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# == Class: ceilometer::db
#
# DEPRECATED !!
# Configures the ceilometer database
# This class will install the required libraries depending on the driver
# specified in the connection_string parameter
@ -64,6 +65,8 @@ class ceilometer::db (
include ceilometer::deps
warning('The ceilometer::db class has been deprecated and will be removed in a future release.')
oslo::db { 'ceilometer_config':
db_max_retries => $database_db_max_retries,
connection => $database_connection,

View File

@ -46,6 +46,8 @@ class ceilometer::db::mysql(
validate_legacy(String, 'validate_string', $password)
warning('The ceilometer::db::mysql class has been deprecated and will be removed in a future release.')
openstacklib::db::mysql { 'ceilometer':
user => $user,
password => $password,

View File

@ -34,6 +34,8 @@ class ceilometer::db::postgresql(
include ceilometer::deps
warning('The ceilometer::db::postgresql class has been deprecated and will be removed in a future release.')
openstacklib::db::postgresql { 'ceilometer':
password => $password,
dbname => $dbname,

View File

@ -0,0 +1,9 @@
---
features:
- |
The following classes have been deprecated and will be removed in a future
release.
- ``ceilometer::db``
- ``ceilometer::db::mysql``
- ``ceilometer::db::postgresql``