Browse code

Install python-redis from pip

Following the leads of I47b7e787771683c2fc4404e586f11c1a19aac15c and as
an attempt to fix a bug blocking Zaqar's gate, this patch installs
python-redis from pypi instead of using the distro package.

Change-Id: Idfef2fe1b41b44c4cba6b6948b621bc44e77659b

Flavio Percoco authored on 2015/02/20 21:51:22
Showing 2 changed files
... ...
@@ -1,5 +1,4 @@
1 1
 python-pymongo
2 2
 mongodb-server
3 3
 pkg-config
4
-redis-server # NOPRIME
5
-python-redis # NOPRIME
6 4
\ No newline at end of file
5
+redis-server # NOPRIME
7 6
\ No newline at end of file
... ...
@@ -147,13 +147,13 @@ function configure_zaqar {
147 147
 function configure_redis {
148 148
     if is_ubuntu; then
149 149
         install_package redis-server
150
+        pip_install redis
150 151
     elif is_fedora; then
151 152
         install_package redis
153
+        pip_install redis
152 154
     else
153 155
         exit_distro_not_supported "redis installation"
154 156
     fi
155
-
156
-    install_package python-redis
157 157
 }
158 158
 
159 159
 function configure_mongodb {