Do not make RabbitMQ listen on public vip
authorYanis Guenane <yanis.guenane@enovance.com>
Thu, 16 Apr 2015 19:16:34 +0000 (21:16 +0200)
committerYanis Guenane <yanis.guenane@enovance.com>
Thu, 16 Apr 2015 19:16:34 +0000 (21:16 +0200)
Currently RabbitMQ is listening on both private vip and public vip.
There is no need for RabbitMQ to listen on the public vip, so we remove
it.

Change-Id: I82ea2e1e18b7710ae391ffe4903439a9330b1461

manifests/loadbalancer.pp

index ccc9d25..f4bb5c5 100644 (file)
@@ -567,7 +567,7 @@ class tripleo::loadbalancer (
 
   if $rabbitmq {
     haproxy::listen { 'rabbitmq':
-      ipaddress        => [$controller_virtual_ip, $public_virtual_ip],
+      ipaddress        => [$controller_virtual_ip],
       ports            => 5672,
       options          => {
         'timeout' => [ 'client 0', 'server 0' ],