Condense amphora-agent-ubuntu in to amphora-agent

Creating separate elements per-distro is an anti-pattern for DIB. This
leads to a lot of code duplication across all the elements being used.
In DIB we try and create facilities to allow elements to easily perform
cross-distro tasks so this isn't necessary.

Change-Id: Ie3018eacfa0e2726449cfb580ded09d027bed349
This commit is contained in:
Gregory Haynes 2016-06-29 17:16:31 +00:00
parent 866dbb3339
commit 687a972960
5 changed files with 1 additions and 21 deletions

View File

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

View File

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

View File

@ -1,13 +0,0 @@
#!/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

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

View File

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