use "rabbit_hosts" config option instead of "rabbit_host"
This allows for easy client configuration against clustered RabbitMQ setups. Does not break existing configs. Change-Id: I2b180f8860a727e35d7b465253689e5e8c44eb98 Closes-Bug: 1286411
This commit is contained in:
parent
9bd5b9399a
commit
8f084c6b85
@ -186,7 +186,7 @@ function iniset_rpc_backend {
|
||||
fi
|
||||
elif is_service_enabled rabbit || { [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; }; then
|
||||
iniset $file $section rpc_backend ${package}.openstack.common.rpc.impl_kombu
|
||||
iniset $file $section rabbit_host $RABBIT_HOST
|
||||
iniset $file $section rabbit_hosts $RABBIT_HOST
|
||||
iniset $file $section rabbit_password $RABBIT_PASSWORD
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user