Deprecate classes to set up Ceilometer DB
Since metric/event storage was offloaded to Gnocchi/Panko, ceilometer no longer requires its own backend storage. Change-Id: Idf9904e7e8f1b5eca3f25cd37fb83e9adbca0995
This commit is contained in:
parent
210fdec48f
commit
60882c29df
@ -1,5 +1,6 @@
|
|||||||
# == Class: ceilometer::db
|
# == Class: ceilometer::db
|
||||||
#
|
#
|
||||||
|
# DEPRECATED !!
|
||||||
# Configures the ceilometer database
|
# Configures the ceilometer database
|
||||||
# This class will install the required libraries depending on the driver
|
# This class will install the required libraries depending on the driver
|
||||||
# specified in the connection_string parameter
|
# specified in the connection_string parameter
|
||||||
@ -64,6 +65,8 @@ class ceilometer::db (
|
|||||||
|
|
||||||
include ceilometer::deps
|
include ceilometer::deps
|
||||||
|
|
||||||
|
warning('The ceilometer::db class has been deprecated and will be removed in a future release.')
|
||||||
|
|
||||||
oslo::db { 'ceilometer_config':
|
oslo::db { 'ceilometer_config':
|
||||||
db_max_retries => $database_db_max_retries,
|
db_max_retries => $database_db_max_retries,
|
||||||
connection => $database_connection,
|
connection => $database_connection,
|
||||||
|
@ -46,6 +46,8 @@ class ceilometer::db::mysql(
|
|||||||
|
|
||||||
validate_legacy(String, 'validate_string', $password)
|
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':
|
openstacklib::db::mysql { 'ceilometer':
|
||||||
user => $user,
|
user => $user,
|
||||||
password => $password,
|
password => $password,
|
||||||
|
@ -34,6 +34,8 @@ class ceilometer::db::postgresql(
|
|||||||
|
|
||||||
include ceilometer::deps
|
include ceilometer::deps
|
||||||
|
|
||||||
|
warning('The ceilometer::db::postgresql class has been deprecated and will be removed in a future release.')
|
||||||
|
|
||||||
openstacklib::db::postgresql { 'ceilometer':
|
openstacklib::db::postgresql { 'ceilometer':
|
||||||
password => $password,
|
password => $password,
|
||||||
dbname => $dbname,
|
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…
x
Reference in New Issue
Block a user