ccaum/puppetlabs-mysql — pull request #2 by justintime (2012-01-11 18:55:13+00:00)
Title: Productionize 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.