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:
ricolin 2017-12-28 16:17:32 +08:00
parent 5eb4f8225d
commit 3e71efe059
1 changed files with 0 additions and 5 deletions

View File

@ -118,14 +118,9 @@ function configure_heat {
HEAT_ENGINE_HOST=${HEAT_ENGINE_HOST:-$SERVICE_HOST}
HEAT_ENGINE_PORT=${HEAT_ENGINE_PORT:-8001}
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
if [[ -f $HEAT_DIR/etc/heat/policy.json ]]; then
cp $HEAT_DIR/etc/heat/policy.json $HEAT_POLICY_FILE
fi
# common options
iniset_rpc_backend heat $HEAT_CONF
if [[ "$HEAT_USE_APACHE" == "True" && "$WSGI_MODE" == "uwsgi" ]]; then