We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8d1f60 commit 73b6749Copy full SHA for 73b6749
1 file changed
devstack/settings
@@ -5,8 +5,6 @@ enable_service ceilometer-acompute ceilometer-acentral
5
enable_service ceilometer-anotification
6
# Data Collector
7
enable_service ceilometer-collector
8
-# API service
9
-enable_service ceilometer-api
10
11
# Default directories
12
CEILOMETER_DIR=$DEST/ceilometer
@@ -17,6 +15,9 @@ CEILOMETER_WSGI_DIR=${CEILOMETER_WSGI_DIR:-/var/www/ceilometer}
17
15
18
16
# Set up no backend
19
CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-none}
+if [ "$CEILOMETER_BACKEND" = "es" ] || [ "$CEILOMETER_BACKEND" = "mysql" ] || [ "$CEILOMETER_BACKEND" = "postgresql" ] || [ "$CEILOMETER_BACKEND" = "mongodb" ]; then
+ enable_service ceilometer-api
20
+fi
21
22
# Gnocchi default archive_policy for Ceilometer
23
GNOCCHI_ARCHIVE_POLICY=${GNOCCHI_ARCHIVE_POLICY:-low}
0 commit comments