module-puppetlabs-mysql/templates/my.conf.cnf.erb

18 lines
517 B
Text
Raw Normal View History

### MANAGED BY PUPPET ###
<% @settings.sort.each do |section, content| -%>
[<%= section %>]
<% content.sort.each do |key, values| -%>
<% [values].flatten.sort.each do |value| -%>
2013-07-10 05:12:38 +02:00
<%= !value ? '#' : '' %><%= key -%><%=
case value
when true, false
''
else
" = #{value}"
end
%>
<% end -%>
<% end -%>
<% end -%>