Don't set keystone as auth if not enabled

We create keystone accounts conditionally depending on whether keystone
was enabled or not. Do the same when configuring the auth strategy in
Zaqar.

Change-Id: Ic3a99e24099dbe32a4435dbb092d09a7fae7dc2f
This commit is contained in:
Flavio Percoco 2015-09-08 09:04:24 +02:00
parent 1c237ea530
commit dd3481be97

View File

@ -119,9 +119,12 @@ function configure_zaqar {
iniset $ZAQAR_CONF DEFAULT verbose True
iniset $ZAQAR_CONF DEFAULT unreliable True
iniset $ZAQAR_CONF DEFAULT admin_mode True
iniset $ZAQAR_CONF DEFAULT auth_strategy keystone
iniset $ZAQAR_CONF signed_url secret_key notreallysecret
if is_service_enabled key; then
iniset $ZAQAR_CONF DEFAULT auth_strategy keystone
fi
iniset $ZAQAR_CONF storage message_pipeline zaqar.notification.notifier
# Enable pooling by default for now