database/sql: fix clean-mysql-binlog notify

In 2.2 release of puppetlabs-mysql, we have to notify the service mysqld
itself instead of using an old exec.
This commit is contained in:
Emilien Macchi 2014-08-06 14:49:59 +02:00
parent 657c55b880
commit 3ff41fd1c0

View File

@ -295,7 +295,7 @@ class cloud::database::sql (
File['/root/.my.cnf'],
Service['mysqld'],
],
notify => Exec['mysqld-restart'],
notify => Service['mysqld'],
refreshonly => true,
onlyif => "stat ${::mysql::params::datadir}/ib_logfile0 && test `du -sh ${::mysql::params::datadir}/ib_logfile0 | cut -f1` != '256M'",
}