|
...
|
...
|
@@ -53,6 +53,8 @@ HEAT_TEMPLATES_DIR=$HEAT_CONF_DIR/templates
|
|
53
|
53
|
HEAT_API_HOST=${HEAT_API_HOST:-$HOST_IP}
|
|
54
|
54
|
HEAT_API_PORT=${HEAT_API_PORT:-8004}
|
|
55
|
55
|
|
|
|
56
|
+# Support entry points installation of console scripts
|
|
|
57
|
+HEAT_BIN_DIR=$(get_python_exec_prefix)
|
|
56
|
58
|
|
|
57
|
59
|
# other default options
|
|
58
|
60
|
if [[ "$HEAT_STANDALONE" = "True" ]]; then
|
|
...
|
...
|
@@ -186,7 +188,7 @@ function init_heat {
|
|
186
|
186
|
# (re)create heat database
|
|
187
|
187
|
recreate_database heat
|
|
188
|
188
|
|
|
189
|
|
- $HEAT_DIR/bin/heat-manage db_sync
|
|
|
189
|
+ $HEAT_BIN_DIR/heat-manage db_sync
|
|
190
|
190
|
create_heat_cache_dir
|
|
191
|
191
|
}
|
|
192
|
192
|
|
|
...
|
...
|
@@ -223,10 +225,10 @@ function install_heat_other {
|
|
223
|
223
|
|
|
224
|
224
|
# start_heat() - Start running processes, including screen
|
|
225
|
225
|
function start_heat {
|
|
226
|
|
- run_process h-eng "$HEAT_DIR/bin/heat-engine --config-file=$HEAT_CONF"
|
|
227
|
|
- run_process h-api "$HEAT_DIR/bin/heat-api --config-file=$HEAT_CONF"
|
|
228
|
|
- run_process h-api-cfn "$HEAT_DIR/bin/heat-api-cfn --config-file=$HEAT_CONF"
|
|
229
|
|
- run_process h-api-cw "$HEAT_DIR/bin/heat-api-cloudwatch --config-file=$HEAT_CONF"
|
|
|
226
|
+ run_process h-eng "$HEAT_BIN_DIR/heat-engine --config-file=$HEAT_CONF"
|
|
|
227
|
+ run_process h-api "$HEAT_BIN_DIR/heat-api --config-file=$HEAT_CONF"
|
|
|
228
|
+ run_process h-api-cfn "$HEAT_BIN_DIR/heat-api-cfn --config-file=$HEAT_CONF"
|
|
|
229
|
+ run_process h-api-cw "$HEAT_BIN_DIR/heat-api-cloudwatch --config-file=$HEAT_CONF"
|
|
230
|
230
|
}
|
|
231
|
231
|
|
|
232
|
232
|
# stop_heat() - Stop running processes
|