Attempt to make puppet quiet on falla
[mirror/dsa-puppet.git] / modules / rabbitmq / templates / rabbitmq.conf.erb
index 46d3ee9..4d95f9e 100644 (file)
@@ -1,4 +1,12 @@
 [
-<% if scope.lookupvar('cluster') -%>
-{rabbit, [{cluster_nodes, ['<%= scope.lookupvar('clustermembers').to_a.flatten.join("', '") %>']}]}
+{rabbit, [
+<% if @cluster -%>
+       {cluster_nodes, ['<%= @clustermembers.to_a.flatten.join("', '") %>']},
+        {tcp_listen_options, [binary,
+                              {packet, raw},
+                              {reuseaddr, true},
+                              {backlog, 128},
+                              {nodelay, true},
+                              {exit_on_close, false},
+                              {keepalive, true}]}
 <% end -%>