We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6c8d8 commit fb6c9f0Copy full SHA for fb6c9f0
attributes/default.rb
@@ -116,3 +116,4 @@
116
117
# conf
118
default['rabbitmq']['conf'] = {}
119
+default['rabbitmq']['additional_rabbit_configs'] = {}
templates/default/rabbitmq.config.erb
@@ -52,6 +52,10 @@
52
{default_user, <<"<%= node['rabbitmq']['default_user'] %>">>},
53
{default_pass, <<"<%= node['rabbitmq']['default_pass'] %>">>},
54
{heartbeat, <%= node['rabbitmq']['heartbeat'] %>}
55
+
56
+ <% node['rabbitmq']['additional_rabbit_configs'].each do |key,value| -%>
57
+ ,{<%= key %>, <%= value %>}
58
+ <% end -%>
59
]}
60
<% node['rabbitmq']['conf'].each do |key,value| -%>
61
,{<%= key %>, <%= value %>}
0 commit comments