tripleo-ci/scripts/te-broker/te-broker.sh
Ben Nemec 2885c2ad41 Install openstackclient on te-broker
Ib01a0b4ee76c033739ce9f7003070aa29714875e makes use of osc, but it
turns out it wasn't installed on the te-broker.  This change adds
it to the system setup package list.

Note that I've already installed it manually on the existing
te-broker instance.  This is just to ensure it doesn't get lost if
we have to rebuild it.

Change-Id: I34da1da71b7ab2ac5890ef4a443079113baace05
2017-01-09 21:56:44 +00:00

15 lines
558 B
Bash
Executable File

#!/bin/bash
curl -L http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-master-tripleo/delorean.repo > /etc/yum.repos.d/delorean.repo
curl -L http://trunk.rdoproject.org/centos7/delorean-deps.repo > /etc/yum.repos.d/delorean-deps.repo
yum install -y python-pip python-heatclient python-neutronclient python-novaclient python-swiftclient python-openstackclient
pip install gear
BASEPATH=$(realpath $(dirname $0))
cp $BASEPATH/geard.service /lib/systemd/system/geard.service
cp $BASEPATH/te_workers.service /lib/systemd/system/te_workers.service