rightscale/rightscale_cookbooks — pull request #133 by jondade (2012-07-05 13:05:06+00:00)
Title: Made the granting of privileges idempotent

The previous version of the cookbooks/db_mysql/definitions/db_mysql_set_privileges.rb conifgured a 'user' by granting all and revoking the super privilege. When using this with a single username / password for all user types in the mysql template the last action taken is to revoke the super priv from the user. This prevents the slave from configuring replication.