create defined types for grant and user
fixes #19744 - no restart on root/.my.cnf change
Move hash outside of function call, fixes for Puppet 2.6
Add create_resources to fix Travis CI failure on Puppet 2.6
Merge pull request #163 from domcleal/pp26

Puppet 2.6 fix
Merge branch 'master' of git://github.com/puppetlabs/puppetlabs-mysql
Implement character_set. You can change the default server and
client character set
* Adding `key_buffer` parameter to `mysql::config`
* Adding `thread_stack` parameter to `mysql::config`
* Adding `thread_cache_size` parameter to `mysql::config`
* Adding `myisam-recover` parameter to `mysql::config`
* Adding `query_cache_limit` parameter to `mysql::config`
* Adding `query_cache_size` parameter to `mysql::config`
* Adding `max_connections` parameter to `mysql::config`
* Adding `tmp_table_size` parameter to `mysql::config`
* Adding `table_open_cache` parameter to `mysql::config`
* Adding `long_query_time` parameter to `mysql::config`
* Updating mysql_config spec tests
* Fixing lint warnings
* Adding `server_idparameter to `mysql::config`
* Adding `sql_log_bin` parameter to `mysql::config`
* Adding `log_bin` parameter to `mysql::config`
* Adding `max_binlog_size` parameter to `mysql::config`
* Adding `binlog_do_db` parameter to `mysql::config`
* Adding `expire_logs_days` parameter to `mysql::config`
* Adding `log_bin_trust_function_creators` parameter to `mysql::config`
* Adding `replicate_ignore_table` parameter to `mysql::config`
* Adding `replicate_wild_do_table` parameter to `mysql::config`
* Adding `replicate_wild_ignore_table` parameter to `mysql::config`
* Adding `expire_logs_days`  parameter to `mysql::params`
* Adding `max_binlog_size` parameter to `mysql::params`
Refactor of classes to put everything as a param to mysql to prepare for autoloading from hiera

put a handle on all the params of the class in init.pp so that they can be autoloaded from hiera, and easily fed to the class from a profile class
Some minor fixes to appease puppet lint
Out of scope of this refactor

we don't need these defines for this refactor. Removing for simplicity's sake
Fix to config.pp. Remove trailing , on last parameter, which breaks in puppet 2.6

Fix to config.pp. Remove trailing , on last parameter, which breaks in puppet 2.6
restore package_name parameter to maintain backward compatibility.

Removal of the ambiguously named package_name parameter, without having a version provide a deprecation warning for a reasonable amount of time seems unreasonable.
As Hunner suggests, adding a workaround variable to init.pp and use that as package name gives us the ability to warn users about the upcoming deprecation, while still maintaining backwards compatibility.
Remove trailing comma to server.pp for 2.6 backwards compatibility.
Removal of trailing commas to the last parameter of classes for backwards compatibility with Puppet2.6
Merge pull request #169 from wolfspyre/master

Refactor to put a knob on all parameters
Fix default-storage-engine default value

Without this commit, puppetlabs-mysql breaks mysql configuration by inserting a
dummy default-storage-engine directive. This will prevent mysql daemon from
starting up.

For example:

notice: /Stage[main]/Mysql::Config/File[/etc/mysql/my.cnf]/content:
--- /etc/mysql/my.cnf   2013-04-25 21:36:25.000000000 +0000
+++ /tmp/puppet-file20130425-12937-10tcf50-0    2013-04-25 21:42:49.000000000 +0000
@@ -29,6 +29,8 @@
 expire_logs_days   = 10
 max_binlog_size    = 100M

+default-storage-engine = undef
+

 [mysqldump]
Test to avoid broken default-storage-engine settings
Merge pull request #171 from ctrlaltdel/fix-default-storage-engine

[Important] Fix default-storage-engine default value