tripleo-image-elements/elements/heat-engine/install.d/heat-source-install/10-heat-engine
Ben Nemec 72eae28b16 Move heat-manage call to heat-engine
heat-api doesn't actually care about calling heat-manage db_sync,
so move it to heat-engine, which does.

Also add set -e on the script so errors from heat-manage are caught.

Change-Id: I50ee5721a123ae760797816fb759dd6540df8ad4
2014-01-30 23:47:12 +00:00

12 lines
275 B
Bash
Executable File

#!/bin/bash
set -e
install-packages python-mysqldb
cp -r /opt/stack/heat/etc/heat/environment.d /etc/heat
cp -r /opt/stack/heat/etc/heat/templates /etc/heat
ln -s /opt/stack/venvs/heat/bin/heat-manage /usr/local/bin/heat-manage
os-svc-daemon heat-engine heat heat-engine