Use the config.yaml rabbit variables

This commit is contained in:
Heather M. Lanigan 2016-09-13 16:02:34 -07:00
parent 07ab943394
commit 65032c7c71
1 changed files with 2 additions and 4 deletions

View File

@ -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()