fix mysql not starting if ssl is not disabled

This commit is contained in:
Robin Gloster 2014-03-06 14:03:13 +01:00
parent 5c8d97f81b
commit e4d63f7dc6

View file

@ -2,7 +2,7 @@
<% if v.is_a?(Hash) -%>
[<%= k %>]
<% v.sort.map do |ki, vi| -%>
<% if ki =~ /^ssl/ and v['ssl-disable'] == true -%>
<% if ki == 'ssl-disable' or (ki =~ /^ssl/ and v['ssl-disable'] == true) -%>
<% next %>
<% elsif vi == true or v == '' -%>
<%= ki %>