sinfomicien/mariadb — pull request #26 by stissot (2014-10-20 18:56:57+00:00)
Title: [Feature] Move datadir after install (issue #25)

When ``node['mariadb']['mysqld']['datadir']`` is different than the default ``/var/lib/mysql``, this will trigger after install a script that stop the service, moves the datadir to its new location, replace it with a symlink to the new path and restart the service. Tested on Ubuntu 14.04 with MariaDB 10.0