Set rabbitmq loopback_users explicitely
authorMichele Baldessari <michele@acksyn.org>
Thu, 26 May 2016 16:28:57 +0000 (18:28 +0200)
committerMichele Baldessari <michele@acksyn.org>
Thu, 26 May 2016 16:35:18 +0000 (18:35 +0200)
In Fedora/RHEL land we carry a patch that sets the loopback_users
config explicitely to []. Since this patch diverges from upstream
and sometimes gets dropped by mistake during rebases, let's set
this value explicitely in our config files, instead of relying
on a patch that is distro-specific.

The patch is here:
http://pkgs.fedoraproject.org/cgit/rpms/rabbitmq-server.git/tree/rabbitmq-server-0004-Allow-guest-login-from-non-loopback-connections.patch

Change-Id: If9ca05b38a8bd2a6834c08336a816bbd0ae1ea94

puppet/hieradata/controller.yaml

index 7a446b5..0b3b8fe 100644 (file)
@@ -31,6 +31,7 @@ rabbitmq_kernel_variables:
 rabbitmq_config_variables:
   tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
   cluster_partition_handling: 'pause_minority'
+  loopback_users: '[]'
 
 mongodb::server::replset: tripleo
 mongodb::server::journal: false