Revert "Condense amphora-agent-ubuntu in to amphora-agent"

This reverts commit 687a972960.
Something about this seems to have possibly broken amphora boots.
Testing reverting this patch to see if it fixes the scenario runs.

Change-Id: I824cb1c6fa38f2320f84456a551585114215f625
This commit is contained in:
Adam Harwell 2016-07-14 17:49:04 +09:00
parent c2b82a0849
commit fdde4e6984
5 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,3 @@
Element to install an Octavia Amphora agent.

View File

@ -1 +1 @@
amphora-agent
source-repositories

View File

@ -0,0 +1,13 @@
#!/bin/bash
set -eux
install-packages libffi-dev libssl-dev
cd /opt/amphora-agent/
pip install -r requirements.txt
python setup.py install
cp etc/init/amphora-agent.conf /etc/init/
mkdir /etc/octavia
# we assume certs, etc will come in through the config drive
mkdir /etc/octavia/certs
mkdir /var/lib/octavia

View File

@ -0,0 +1,2 @@
# This is temporary until we have a pip package
amphora-agent git /opt/amphora-agent https://git.openstack.org/openstack/octavia

View File

@ -0,0 +1,2 @@
amphora-agent:
default: amphora-agent