Merge "Default RABBIT_HOST to be the SERVICE_HOST."

This commit is contained in:
Jenkins 2014-04-09 10:32:31 +00:00 committed by Gerrit Code Review
commit 3f52e5ef74

View File

@ -425,7 +425,7 @@ initialize_database_backends && echo "Using $DATABASE_TYPE database backend" ||
# Rabbit connection info
if is_service_enabled rabbit; then
RABBIT_HOST=${RABBIT_HOST:-localhost}
RABBIT_HOST=${RABBIT_HOST:-$SERVICE_HOST}
read_password RABBIT_PASSWORD "ENTER A PASSWORD TO USE FOR RABBIT."
fi