In order to make OpenStack configuration files written by Chef more readable, this patch introduces a blank line before every section heading. Change-Id: Ib44e17cbba512c51c0098177d2dab1a91802b4d3
14 lines
340 B
Plaintext
14 lines
340 B
Plaintext
<%= node['openstack']['common']['custom_template_banner'] %>
|
|
<% @service_config.each do |section, values| -%>
|
|
|
|
[<%= section %>]
|
|
<% values.each do |key, value| -%>
|
|
<% if value.class == Hash -%>
|
|
<%= "# #{value['comment']}" -%>
|
|
<%= key %> = <%= value['set_to'] %>
|
|
<% else -%>
|
|
<%= key %> = <%= value %>
|
|
<% end -%>
|
|
<% end -%>
|
|
<% end -%>
|