module-puppetlabs-mysql/lib/puppet/provider
Jon Topper ec5450ec75 Use facts for mysqld version discovery
Per https://tickets.puppetlabs.com/browse/MODULES-3441, the mysql
module has behaviour which varies by server version. The version is
discovered by running mysqld -V. On hosts without a MySQL server
package install, this fails, which means that contrary to the README,
it's not actually possible to use this module to manage a remote db.

This PR moves the version string discovery into a new fact,
mysqld_version which is used by the provider. This makes it possible
to configure the db version with a custom fact when a remote db
(eg AWS RDS) is being managed.
2016-06-15 10:43:50 +02:00
..
mysql_database mysql_database: prevent syntax error with collate=>'binary' 2014-09-15 23:22:59 -06:00
mysql_datadir Find MySQL 5.5 installation on CentOS #832 2016-05-23 12:17:09 +02:00
mysql_grant (MODULES-2111) Add the system database to user related tables. 2016-05-02 14:52:44 +02:00
mysql_plugin Add type & provider for managing plugins 2015-01-26 15:03:45 +01:00
mysql_user (MODULES-2111) Add the system database to user related tables. 2016-05-02 14:52:44 +02:00
mysql.rb Use facts for mysqld version discovery 2016-06-15 10:43:50 +02:00