module-puppetlabs-mysql/lib/puppet
Jaakko 3cfbb581cc Change grant provider to ignore grants for non existing users.
In the grant provider users are fetched by querying mysql.user table. Grants
for those users are fetched using show grants for... syntax. This can lead to
errors, when some of the users in mysql.user table do not have currently
active grants.

This happens at least when MySQL is started with --skip-name-resolve option,
when there are users with the hostname part specified as a FQDN. Such users are
created by mysql_install_db. This leads to problems if mysql::account_security
is included for the node and skip-name-resolve is specified in override_options
hash for mysql::server.

Includes acceptance test for the change.
2014-06-17 13:07:56 +02:00
..
parser/functions mysql_deepmerge should treat underscore and dash equivalently, as mysql does 2014-01-23 22:41:58 -08:00
provider Change grant provider to ignore grants for non existing users. 2014-06-17 13:07:56 +02:00
type Merge pull request #522 from cmurphy/fix_mysql_grant_MODULES-1040 2014-06-05 13:07:40 -04:00