Set rabbitmq's port and IP via the config file and not the env file
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 14 Dec 2016 12:01:32 +0000 (14:01 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 14 Dec 2016 12:06:21 +0000 (14:06 +0200)
commitde923539c81979380ba0b94b757c09e8bba9d158
treef723081ee8c088f7d49e393a48ecf9dad32ea67b
parent1e88f875239b30de24552450b623e6892941fa1e
Set rabbitmq's port and IP via the config file and not the env file

The RabbitMQ's puppet manifest configures the node's IP and port through
environment variables. While this would usually be fine, it doesn't
allow us to use TLS-only, since it will always try to start a TCP
listener. So, by setting these values through the config file, when
setting ssl_only for rabbitmq, they will effectively be discarded and
thus allow us to use an SSL listener on the same port.

Change-Id: I33d051a8c740baf69b99517378e1f9b0f3cc1681
puppet/services/rabbitmq.yaml