Merge pull request #316 from tekenny/master
Updated my.cnf template to support items with no values
This commit is contained in:
commit
f03da2c8e6
1 changed files with 4 additions and 0 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Reference in a new issue