diff --git a/elements/config-applier/README.md b/elements/config-applier/README.md new file mode 100644 index 000000000..95aa3427b --- /dev/null +++ b/elements/config-applier/README.md @@ -0,0 +1,2 @@ +Installs config-applier to handle Heat Metadata based configuration of +the system. diff --git a/elements/config-applier/install.d/20-config-applier b/elements/config-applier/install.d/20-config-applier new file mode 100755 index 000000000..b6dcc6c10 --- /dev/null +++ b/elements/config-applier/install.d/20-config-applier @@ -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 diff --git a/elements/config-applier/install.d/config-applier.upstart b/elements/config-applier/install.d/config-applier.upstart new file mode 100644 index 000000000..5ba90ece8 --- /dev/null +++ b/elements/config-applier/install.d/config-applier.upstart @@ -0,0 +1,8 @@ +start on runlevel [2345] + +task + +author "Clint Byrum " +description "Config Applier" + +exec config-applier