]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/templates/default/my.cnf.erb
Revert "imagery: Add report only CSP and NEL reporting"
[chef.git] / cookbooks / mysql / templates / default / my.cnf.erb
index a03aebc8dbba3e4e74340bbdfbcf5ad54daa80ed..65740ec674582de8ccc02374602149f03532ec32 100644 (file)
@@ -1 +1,12 @@
 # DO NOT EDIT - This file is being maintained by Chef
+<% node[:mysql][:settings].each do |section,settings| -%>
+
+[<%= section %>]
+<% settings.each do |name, value| -%>
+<% if value.is_a?(TrueClass) -%>
+<%= name %>
+<% else -%>
+<%= name %> = <%= value %>
+<% end -%>
+<% end -%>
+<% end -%>