From 4f14fb148999f57ef3efd79102447be0db1f11ac Mon Sep 17 00:00:00 2001
From: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Date: Sat, 19 Sep 2015 01:18:20 +0200
Subject: Bugfix: Fix lab reconfig issue by moving fuel dependency installation
 to master node

ODL plugin build dependency installation was incorrectly put into lab-reconfig
which runs on master node. This change moves the dependency installation into
fuel-odl-plugin-build builder which runs on jumphost.

Change-Id: Ic353cabeabb0a98fcdb8b2f94ababbbc79d3e963
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
---
 utils/lab-reconfiguration/create_venv.sh | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'utils/lab-reconfiguration')

diff --git a/utils/lab-reconfiguration/create_venv.sh b/utils/lab-reconfiguration/create_venv.sh
index e94b22b1b..4e45f8462 100755
--- a/utils/lab-reconfiguration/create_venv.sh
+++ b/utils/lab-reconfiguration/create_venv.sh
@@ -30,16 +30,6 @@ if [[ ! $(rpm -qa | grep python-2.7) ]]; then
     sudo yum install -y python-2.7*
 fi
 
-if [[ ! $(rpm -qa | grep rubygems) ]]; then
-    echo "Rubygems not found, but required for Fuel Plugin build ... attempting to install"
-    sudo yum install -y rubygems ruby-devel
-fi
-
-if [[ ! $(gem list | grep fpm) ]]; then
-    echo "fpm gem not found, but required for Fuel Plugin build ... attempting to install"
-    sudo gem install fpm
-fi
-
 if [ ! -f "$BASEDIR/venv/updated" -o $BASEDIR/requirements.pip -nt $BASEDIR/venv/updated ]; then
     source $BASEDIR/venv/bin/activate
     pip install -r $BASEDIR/requirements.pip
-- 
cgit