Permalink
Browse files

adding recipe

  • Loading branch information...
Ines Sombra
Ines Sombra committed Aug 29, 2012
1 parent ced428d commit d9a12a0f7c044c4424ed24dcd631abe6a04f2ba4
@@ -0,0 +1,9 @@
+= DESCRIPTION:
+
+Use this cookbook to undo binary logging on MySQL slaves.
+
+= USAGE:
+
+Step 1) Uncomment the line that includes #require_recipe "mysql_undo_slave_binlogging" in main/recipes/default.rb
+Step 2) Commit and upload: `ey recipes upload -e <ENV>` and then apply: `ey recipes apply -e <ENV>`
+
@@ -0,0 +1,10 @@
+#
+# Cookbook Name:: mysql_undo_slave_binlogging
+# Recipe:: default
+#
+template "/etc/mysql.d/ey_skip_slave_binlog.cnf" do
+ source "ey_skip_slave_binlog.cnf.erb"
+ owner 'root'
+ group 'root'
+ mode 0644
+end
@@ -0,0 +1,3 @@
+[mysqld]
+skip-log-bin
+skip-log-slave-updates

0 comments on commit d9a12a0

Please sign in to comment.