Use the config.yaml rabbit variables
This commit is contained in:
parent
07ab943394
commit
65032c7c71
|
@ -36,10 +36,8 @@ def setup_amqp_req(amqp):
|
||||||
Use the amqp interface to request access to the amqp broker using our
|
Use the amqp interface to request access to the amqp broker using our
|
||||||
local configuration.
|
local configuration.
|
||||||
"""
|
"""
|
||||||
#amqp.request_access(username=hookenv.config('trove'),
|
amqp.request_access(username=hookenv.config('rabbit-user'),
|
||||||
# vhost=hookenv.config('openstack'))
|
vhost=hookenv.config('rabbit-vhost'))
|
||||||
amqp.request_access(username='rabbit-user',
|
|
||||||
vhost='rabbit-vhost')
|
|
||||||
trove.assess_status()
|
trove.assess_status()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue