Merge pull request #316 from tekenny/master

Updated my.cnf template to support items with no values
This commit is contained in:
Ashley Penney 2013-10-09 12:24:07 -07:00
commit f03da2c8e6

View file

@ -2,7 +2,11 @@
<% if v.is_a?(Hash) -%>
[<%= k %>]
<% @options[k].sort.map do |ki, vi| -%>
<% if vi and vi != '' -%>
<%= ki %> = <%= vi %>
<% else -%>
<%= ki %>
<% end -%>
<% end -%>
<% end -%>