       modified = true if created
       ctx.ini
         destination: '/etc/my.cnf'
-        content: mysqld: tmpdir: '/tmp/mysql'
+        content: my_cnf
         merge: true
         backup: true
       , (err, updated) ->

  ctx.config.mysql_server.disallow_remote_root_login ?= false
  ctx.config.mysql_server.remove_test_db ?= true
  ctx.config.mysql_server.reload_privileges ?= true

###
Package

Install the Mysql database server. Secure the temporary directory.
###
module.exports.push name: 'Mysql Server # Package', timeout: -1, callback: (ctx, next) ->
  {my_cnf} = ctx.config.mysql_server
  modified = false
  do_install = ->
    ctx.service
