Add two new sections for additional details.

Add a backwards compatibility section and a conf.d section.
This commit is contained in:
Ashley Penney 2013-09-16 18:17:16 -04:00
parent ce893b5115
commit 2a46d9e366

View file

@ -23,6 +23,20 @@ The MySQL module manages both the installation and configuration of MySQL as
well as extends Pupppet to allow management of MySQL resources, such as well as extends Pupppet to allow management of MySQL resources, such as
databases, users, and grants. databases, users, and grants.
##Backwards Compatibility
This module has just undergone a very large rewrite. As a result it will no
longer work with the previous classes and configuration as before. We've
attempted to handle backwards compatibility automatically by adding a
`attempt_compatibility_mode` parameter to the main mysql class. If you set
this to true it will attempt to map your previous parameters into the new
mysql::globals class.
###WARNING
This may fail. It may eat your MySQL server. PLEASE test it before running it
live. Even if it's just a no-op and a manual comparision. Please be careful!
##Setup ##Setup
###What MySQL affects ###What MySQL affects
@ -73,6 +87,13 @@ thing
You can just make an entry like thing => true in the hash. MySQL doesn't You can just make an entry like thing => true in the hash. MySQL doesn't
care if thing is alone or set to a value, it'll happily accept both. care if thing is alone or set to a value, it'll happily accept both.
###Custom configuration
To add custom mysql configuration you can drop additional files into
/etc/mysql/conf.d/ in order to override settings or add additional ones (if you
choose not to use override_options in mysql::globals). This location is
hardcoded into the my.cnf template file.
##Reference ##Reference
###Classes ###Classes