puppetlabs/puppetlabs-mysql — pull request #102 by jkff (2012-08-22 01:34:05+00:00)
Title: Parameterized pidfile; critical for successful first restart

I had a case (in combination with galera though) where mysql didn't restart properly because on first restart, my.cnf didn't contain a correct pidfile setting, and the stop script wasn't able to find the PID to kill (because it grepped my.cnf for the pidfile setting).

In any case, explicit better than implicit here.