In DevStack install Redis client library via pip, not as system package

System package name depends on Python version, while pip library name
is uniform for both py2 and py3.

Change-Id: I7ba7db61d2b07af4b880393bc0463d733f34f8cf
This commit is contained in:
Ilya Shakhat 2018-10-17 12:20:28 +02:00
parent 0984e088a3
commit 1786f65e06
1 changed files with 5 additions and 3 deletions

View File

@ -42,16 +42,18 @@ done
function install_redis() {
if is_fedora; then
install_package redis python-redis
install_package redis
elif is_ubuntu; then
install_package redis-server python-redis
install_package redis-server
elif is_suse; then
install_package redis python-redis
install_package redis
else
exit_distro_not_supported "redis installation"
fi
start_service redis
pip_install_gr redis
}
function install_osprofiler_collector() {