Merge pull request #94 from enovance/bug/93/emilien

database:sql: Add missing documentation
This commit is contained in:
Gonéri Le Bouder 2014-01-28 06:30:01 -08:00
commit 6fa538c4af

View File

@ -95,6 +95,14 @@ class cloud::database::sql (
if($::osfamily == 'Debian'){
# This is due to this bug: https://bugs.launchpad.net/codership-mysql/+bug/1087368
# The backport to API 23 requires a command line option --wsrep-new-cluster:
# http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3844?start_revid=3844
# and the mysql init script cannot have arguments passed to the daemon
# using /etc/default/mysql standart mechanism.
# To check that the mysqld support the options you can :
# strings `which mysqld` | grep wsrep-new-cluster
# TODO: to be remove as soon as the API 25 is packaged, ie galera 3 ...
file { '/etc/init.d/mysql-bootstrap':
content => template('cloud/database/etc_initd_mysql_debian'),
owner => 'root',