ccaum/puppetlabs-mysql — pull request #3 by justinellison (2012-01-27 17:48:08+00:00)
Title: mysql::secure class

Here's a small feature addition, one bug fix, and one example of how to trigger a bug I can't figure out :)

MySQL ships with a shell script named mysql_secure_installation. It removes test dbs, anonymous users, etc. Productionize.pp is a port of that into puppet.

There's one bug fix in the type - in the case of an anonymous user, the string before the @ sign is nil.

Note that this branch has a bug, and it's one I can't figure out. Any time I set the ensure property on the database_grant type, I get an error, even though puppet describe says I can set it.