puppetlabs/puppetlabs-mysql — pull request #231 by danehans (2013-07-19 00:07:33+00:00)
Title: Remove Unneeded Dependency

require => [Class['mysql::server'],Package['mysql_client']],

The require above prevents users from leveraging other
mysql plugins such as galera:

https://github.com/CiscoSystems/puppet-galera

I don't believe that the dependency on mysql::server
actually works.

If this is not acceptible, then an alternate solution could be:

Remove this:
require => [Class['mysql::server'],Package['mysql_client']],

and replace with
Class<| 'mysql::server' |> ->Database [$name]