Permalink
Browse files

Removed postgresql option since you won't be able to pg_dump from a r…

…eplica anyways.
  • Loading branch information...
1 parent e6cfa06 commit 07cb0221e7e8f053d2c59e49da86c8588824afb2 @watsonian watsonian committed Jun 17, 2010
Showing with 2 additions and 7 deletions.
  1. +2 −7 cookbooks/eybackup_slave/recipes/default.rb
View
9 cookbooks/eybackup_slave/recipes/default.rb
@@ -1,8 +1,3 @@
-# uncomment which database type you're using. currently, mysql is the
-# only supported database type.
-db_type = "mysql"
-#db_type = "postgresql"
-
# set backup interval
cron_hour = if node[:backup_interval].to_s == '24'
"1" # 0100 Pacific, per support's request
@@ -15,13 +10,13 @@
if ['db_master'].include?(node[:instance_role])
- cron "#{db_type}" do
+ cron "mysql" do
action :delete
end
end
if ['db_slave'].include?(node[:instance_role])
- cron "#{db_type}" do
+ cron "mysql" do
minute '10'
hour cron_hour
day '*'

0 comments on commit 07cb022

Please sign in to comment.