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:
parent
657c55b880
commit
3ff41fd1c0
@ -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'",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user