X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/525ab3da99ed14a2bf1ec2969a8a60a43fe96af9..0aaea8096fcdd565f0f1990a84ad68e9aeb90113:/cookbooks/mysql/templates/default/my.cnf.erb diff --git a/cookbooks/mysql/templates/default/my.cnf.erb b/cookbooks/mysql/templates/default/my.cnf.erb index 7e445fa92..65740ec67 100644 --- a/cookbooks/mysql/templates/default/my.cnf.erb +++ b/cookbooks/mysql/templates/default/my.cnf.erb @@ -3,6 +3,10 @@ [<%= section %>] <% settings.each do |name, value| -%> +<% if value.is_a?(TrueClass) -%> +<%= name %> +<% else -%> <%= name %> = <%= value %> <% end -%> <% end -%> +<% end -%>