Add element to install config-applier
Change-Id: I91f519f5ecbe1c5a252e87af28b66eef983478b0
This commit is contained in:
parent
15a1ad0b5b
commit
b8d51d3c9a
2
elements/config-applier/README.md
Normal file
2
elements/config-applier/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
Installs config-applier to handle Heat Metadata based configuration of
|
||||
the system.
|
13
elements/config-applier/install.d/20-config-applier
Executable file
13
elements/config-applier/install.d/20-config-applier
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
home=$(dirname $0)
|
||||
set -uex
|
||||
|
||||
mkdir -p /opt/stack
|
||||
cd /opt/stack
|
||||
git clone https://github.com/tripleo/config-applier.git
|
||||
cd config-applier
|
||||
git checkout master
|
||||
pip install -e . -U
|
||||
|
||||
install -m 0644 -o root -g root $home/config-applier.upstart /etc/init/config-applier.conf
|
8
elements/config-applier/install.d/config-applier.upstart
Normal file
8
elements/config-applier/install.d/config-applier.upstart
Normal file
@ -0,0 +1,8 @@
|
||||
start on runlevel [2345]
|
||||
|
||||
task
|
||||
|
||||
author "Clint Byrum <clint@fewbar.com>"
|
||||
description "Config Applier"
|
||||
|
||||
exec config-applier
|
Loading…
Reference in New Issue
Block a user