Remove unused policy cp in devstack
We won't have policy.json file by default anymore, so we don't need this `cp` command. Implements: bp policy-in-code Change-Id: I84c99e38c34dc41cc33126291563ea90038ce107
This commit is contained in:
parent
5eb4f8225d
commit
3e71efe059
|
@ -118,14 +118,9 @@ function configure_heat {
|
||||||
HEAT_ENGINE_HOST=${HEAT_ENGINE_HOST:-$SERVICE_HOST}
|
HEAT_ENGINE_HOST=${HEAT_ENGINE_HOST:-$SERVICE_HOST}
|
||||||
HEAT_ENGINE_PORT=${HEAT_ENGINE_PORT:-8001}
|
HEAT_ENGINE_PORT=${HEAT_ENGINE_PORT:-8001}
|
||||||
HEAT_API_PASTE_FILE=$HEAT_CONF_DIR/api-paste.ini
|
HEAT_API_PASTE_FILE=$HEAT_CONF_DIR/api-paste.ini
|
||||||
HEAT_POLICY_FILE=$HEAT_CONF_DIR/policy.json
|
|
||||||
|
|
||||||
cp $HEAT_DIR/etc/heat/api-paste.ini $HEAT_API_PASTE_FILE
|
cp $HEAT_DIR/etc/heat/api-paste.ini $HEAT_API_PASTE_FILE
|
||||||
|
|
||||||
if [[ -f $HEAT_DIR/etc/heat/policy.json ]]; then
|
|
||||||
cp $HEAT_DIR/etc/heat/policy.json $HEAT_POLICY_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
# common options
|
# common options
|
||||||
iniset_rpc_backend heat $HEAT_CONF
|
iniset_rpc_backend heat $HEAT_CONF
|
||||||
if [[ "$HEAT_USE_APACHE" == "True" && "$WSGI_MODE" == "uwsgi" ]]; then
|
if [[ "$HEAT_USE_APACHE" == "True" && "$WSGI_MODE" == "uwsgi" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue