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

11 lines
197 B
Text

<% @options.sort.map do |k,v| -%>
<% if v.is_a?(Hash) -%>
[<%= k %>]
<% @options[k].sort.map do |ki, vi| -%>
<%= ki %> = <%= vi %>
<% end -%>
<% end -%>
<% end -%>
!includedir /etc/mysql/conf.d/