saltstack-formulas/mysql-formula — pull request #37 by davidjb (2014-10-09 07:37:13+00:00)
Title: Ensure all anonymous users are removed; ensure None values for fqdn are handled for YAML

This ensures all anonymous users are removed; on CentOS 6.5 (at least), there is also a 'localhost.localdomain' anonymous user.

Also, if the FQDN grain is None, then an empty space rendered in YAML translates to None, rather than an empty string. This was causing the state to attempt to remove the user ``@None``, which isn't correct.