module-puppetlabs-mysql/spec
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
..
acceptance Skips mysqlbackup.sh tests on MySQL 5.7+ 2016-05-26 11:18:27 -07:00
classes Allow mysql::backup::mysqldump to access root_group in tests 2016-03-25 15:31:15 -07:00
defines (MAINT) switch to rspec-puppet-facts 2015-10-13 11:29:42 +01:00
unit Use facts for mysqld version discovery 2016-06-15 10:43:50 +02:00
spec.opts (#11508) Only load sql_scripts on DB creation 2011-12-19 07:25:35 -08:00
spec_helper.rb (FM-4046) Update to current msync configs [006831f] 2016-02-16 16:33:44 +00:00
spec_helper_acceptance.rb (maint) Switches nanliu-staging dependency to puppet-staging 2016-05-25 08:27:46 -07:00
spec_helper_local.rb (FM-4049) Update to current msync configs [2c99161] 2016-01-27 14:44:53 +00:00