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:
parent
c2b82a0849
commit
fdde4e6984
3
elements/amphora-agent-ubuntu/README.rst
Normal file
3
elements/amphora-agent-ubuntu/README.rst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Element to install an Octavia Amphora agent.
|
||||||
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
amphora-agent
|
source-repositories
|
||||||
|
13
elements/amphora-agent-ubuntu/install.d/75-run_setup_install
Executable file
13
elements/amphora-agent-ubuntu/install.d/75-run_setup_install
Executable 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
|
||||||
|
|
@ -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
|
2
elements/amphora-agent-ubuntu/svc-map
Normal file
2
elements/amphora-agent-ubuntu/svc-map
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
amphora-agent:
|
||||||
|
default: amphora-agent
|
Loading…
Reference in New Issue
Block a user