Make the RESOURCE_REGISTRY_PATH customizable.

In order to use alternate software config implementations
with the overcloud templates end users may want to swap in
their own heat resource registry environment files.

Change-Id: Id1bac08bbd851a006c8038f85a6e38d6ada7953d
This commit is contained in:
Dan Prince 2014-12-20 08:06:37 -05:00
parent c0477154cf
commit 52739c04a0

View File

@ -400,7 +400,7 @@ ENV_JSON=$(jq '.parameters = {
}' <<< $ENV_JSON)
RESOURCE_REGISTRY=
RESOURCE_REGISTRY_PATH="$TRIPLEO_ROOT/tripleo-heat-templates/overcloud-resource-registry.yaml"
RESOURCE_REGISTRY_PATH=${RESOURCE_REGISTRY_PATH:-"$TRIPLEO_ROOT/tripleo-heat-templates/overcloud-resource-registry.yaml"}
if [ "$USE_MERGEPY" -eq 0 ]; then
RESOURCE_REGISTRY="-e $RESOURCE_REGISTRY_PATH"