Merge "Setup notification properly for Zaqar"

This commit is contained in:
Jenkins 2015-01-21 17:51:27 +00:00 committed by Gerrit Code Review
commit 1acfc028a6

View File

@ -135,6 +135,12 @@ function configure_zaqar {
configure_redis configure_redis
fi fi
if is_service_enabled qpid || [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then
iniset $ZAQAR_CONF DEFAULT notification_driver messaging
iniset $ZAQAR_CONF DEFAULT control_exchange zaqar
fi
iniset_rpc_backend zaqar $ZAQAR_CONF DEFAULT
cleanup_zaqar cleanup_zaqar
} }