Skip to content

Commit 2a46d9e

Browse files
author
Ashley Penney
committed
Add two new sections for additional details.
Add a backwards compatibility section and a conf.d section.
1 parent ce893b5 commit 2a46d9e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ The MySQL module manages both the installation and configuration of MySQL as
2323
well as extends Pupppet to allow management of MySQL resources, such as
2424
databases, users, and grants.
2525

26+
##Backwards Compatibility
27+
28+
This module has just undergone a very large rewrite. As a result it will no
29+
longer work with the previous classes and configuration as before. We've
30+
attempted to handle backwards compatibility automatically by adding a
31+
`attempt_compatibility_mode` parameter to the main mysql class. If you set
32+
this to true it will attempt to map your previous parameters into the new
33+
mysql::globals class.
34+
35+
###WARNING
36+
37+
This may fail. It may eat your MySQL server. PLEASE test it before running it
38+
live. Even if it's just a no-op and a manual comparision. Please be careful!
39+
2640
##Setup
2741

2842
###What MySQL affects
@@ -73,6 +87,13 @@ thing
7387
You can just make an entry like thing => true in the hash. MySQL doesn't
7488
care if thing is alone or set to a value, it'll happily accept both.
7589

90+
###Custom configuration
91+
92+
To add custom mysql configuration you can drop additional files into
93+
/etc/mysql/conf.d/ in order to override settings or add additional ones (if you
94+
choose not to use override_options in mysql::globals). This location is
95+
hardcoded into the my.cnf template file.
96+
7697
##Reference
7798

7899
###Classes

0 commit comments

Comments
 (0)