Permalink
Browse files

fix mysql not starting if ssl is not disabled

  • Loading branch information...
1 parent 5c8d97f commit e4d63f7dc66d4bf44d5d3e9ac3f4ff1dee1ad671 @globin globin committed Mar 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/my.cnf.erb
View
2 templates/my.cnf.erb
@@ -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 %>

0 comments on commit e4d63f7

Please sign in to comment.