Merge "Add python-redis to overcloud"
authorTim Rozet <trozet@redhat.com>
Sat, 16 Jul 2016 12:37:45 +0000 (12:37 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Sat, 16 Jul 2016 12:37:45 +0000 (12:37 +0000)
1  2 
build/overcloud-full.sh

@@@ -81,10 -65,9 +81,11 @@@ popd > /dev/nul
  # install the congress rpms
  # upload and explode the congress puppet module
  # install doctor driver ## Can be removed in Newton
 +# install fd.io yum repo and packages
 +# upload puppet fdio
  LIBGUESTFS_BACKEND=direct virt-customize \
      --upload ../opnfv-puppet-tripleo.tar.gz:/etc/puppet/modules \
+     --run-command "if ! rpm -qa | grep python-redis; then yum install -y python-redis; fi" \
      --run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
      --run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
      --run-command "cd /etc/puppet/modules && rm -rf tripleo && tar xzf opnfv-puppet-tripleo.tar.gz" \