Created
February 18, 2015 10:43
-
-
Save sabcio/0067456c38e5448118be to your computer and use it in GitHub Desktop.
Diff mariadb cookbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/templates/default/my.cnf.erb b/templates/default/my.cnf.erb | |
index 5f4f737..fcc41da 100644 | |
--- a/templates/default/my.cnf.erb | |
+++ b/templates/default/my.cnf.erb | |
@@ -323,6 +323,12 @@ skip-show-database | |
# ssl-cert=/etc/mysql/server-cert.pem | |
# ssl-key=/etc/mysql/server-key.pem | |
+<% if node['mariadb'].key?('options') -%> | |
+<% node['mariadb']['options'].each { |key, value| -%> | |
+<%= key %> = <%= value %> | |
+<% } -%> | |
+<% end -%> | |
+ | |
[mysqldump] | |
quick | |
quote-names |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment