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

16 lines
256 B
Text
Raw Normal View History

<% @options.sort.map do |k,v| -%>
<% if v.is_a?(Hash) -%>
[<%= k %>]
<% @options[k].sort.map do |ki, vi| -%>
<% if vi and vi != '' -%>
<%= ki %> = <%= vi %>
<% else -%>
<%= ki %>
<% end -%>
2013-06-16 17:41:29 +02:00
<% end -%>
2012-11-16 20:37:14 +01:00
<% end -%>
<% end -%>
!includedir /etc/mysql/conf.d/