puppetlabs/puppetlabs-mysql — pull request #68 by runningman (2012-05-04 06:39:33+00:00)
Title: Allow wildcard host assignment with sql.

Since mysql:db requires class mysql::server, we assume to run all commands as the root mysql user against the local mysql server. Therefore, Exec["${name}-import"] can be simplified and will also succeed with the following wildcard host assignment:

mysql::db { 'mydb':
user => 'myuser',
password => 'mypass',
host => '%',
grant => ['all'],
sql => '/path/to/file.sql',
}

This time with no formatting "fixes".