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:
parent
866dbb3339
commit
687a972960
@ -1,3 +0,0 @@
|
||||
Element to install an Octavia Amphora agent.
|
||||
|
||||
|
@ -1 +1 @@
|
||||
source-repositories
|
||||
amphora-agent
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -1,2 +0,0 @@
|
||||
amphora-agent:
|
||||
default: amphora-agent
|
Loading…
Reference in New Issue
Block a user