anchor.diff: -#
  -# Generated by Chef for <%= node['hostname'] %>
  -#
  -# Local modifications will be overwritten.
  -#
  -# The MySQL database server configuration file.
  -#
  -# You can copy this to one of:
  -# - "/etc/mysql/my.cnf" to set global options,
  -# - "~/.my.cnf" to set user-specific options.
  -#
  -# One can use all long options that the program supports.
  -# Run program with --help to get a list of available options and with
  -# --print-defaults to see which it would actually understand and use.
  -#
  -# For explanations see
  -# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
  +# Generated by Chef, do not edit
  +<%- tunable = node[:mysql][:tunable] -%>
   
   # This will be passed to all mysql clients
   # It has been reported that passwords should be enclosed with ticks/quotes
  
positive.code: #       other settings you may need to change.
  #server-id              = 1
  #log_bin                        = /var/log/mysql/mysql-bin.log
  expire_logs_days        = <%= node['mysql']['tunable']['expire_logs_days'] %>
  max_binlog_size         = <%= node['mysql']['tunable']['max_binlog_size'] %>
  #binlog_do_db           = include_database_name
  #binlog_ignore_db       = include_database_name
  #
  
negative.code: [mysqldump]
  quick
  quote-names
  max_allowed_packet      = <%= tunable[:max_allowed_packet] %>
  
  [mysql]
  #no-auto-rehash # faster start of mysql but no tab completition
  
  [isamchk]
  key_buffer              = <%= tunable[:max_allowed_packet] %>
  
  #
  # * NDB Cluster
  