Use the source-repository interface.
Use the new source-repository interface to git clone source repository. Also there was a few thing in this element that needed to be fixed. o url to the git repo wasn't curren't. o pip and git are also dependencies that needed to be installed. Change-Id: Ieb7be6576fc909aa4bba0233b7b81cab03395d76
This commit is contained in:
parent
f527b024b9
commit
674a6c172b
1
elements/config-applier/element-deps
Normal file
1
elements/config-applier/element-deps
Normal file
@ -0,0 +1 @@
|
|||||||
|
source-repositories
|
@ -3,11 +3,9 @@
|
|||||||
home=$(dirname $0)
|
home=$(dirname $0)
|
||||||
set -uex
|
set -uex
|
||||||
|
|
||||||
mkdir -p /opt/stack
|
install-packages python-pip
|
||||||
cd /opt/stack
|
|
||||||
git clone https://github.com/tripleo/config-applier.git
|
cd /opt/stack/config-applier
|
||||||
cd config-applier
|
|
||||||
git checkout master
|
|
||||||
pip install -e . -U
|
pip install -e . -U
|
||||||
|
|
||||||
install -m 0644 -o root -g root $home/config-applier.upstart /etc/init/config-applier.conf
|
install -m 0644 -o root -g root $home/config-applier.upstart /etc/init/config-applier.conf
|
||||||
|
1
elements/config-applier/source-repository-config-applier
Normal file
1
elements/config-applier/source-repository-config-applier
Normal file
@ -0,0 +1 @@
|
|||||||
|
config-applier git /opt/stack/config-applier https://github.com/stackforge/os-config-applier.git
|
Loading…
Reference in New Issue
Block a user