Merge "devstack: redis on opensuse needs to have default config"

This commit is contained in:
Zuul 2017-12-19 14:08:16 +00:00 committed by Gerrit Code Review
commit 0ae26d72f2

View File

@ -71,7 +71,14 @@ function _ceilometer_install_redis {
else
# This will fail (correctly) where a redis package is unavailable
install_package redis
restart_service redis
if is_suse; then
# opensuse intsall multi-instance version of redis
# and admin is expected to install the required conf
cp /etc/redis/default.conf.example /etc/redis/default.conf
restart_service redis@default
else
restart_service redis
fi
fi
pip_install_gr redis