Files
cookbook-openstack-common/templates/default/openstack-service.conf.erb
Roger Luethi ea0365d79a Make configuration files more readable
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
2017-11-02 08:51:18 +01:00

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 -%>