Merge "Deprecate classes to set up Ceilometer DB"
This commit is contained in:
commit
3f9fa0dc6f
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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``
|
Loading…
Reference in New Issue
Block a user