Skip to content

Commit

Permalink
adding recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Ines Sombra committed Aug 29, 2012
1 parent ced428d commit d9a12a0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cookbooks/mysql_undo_slave_binlogging/README.rdoc
@@ -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>`

10 changes: 10 additions & 0 deletions cookbooks/mysql_undo_slave_binlogging/recipes/default.rb
@@ -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.