Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
fix backups
Browse files Browse the repository at this point in the history
dwradcliffe committed Oct 10, 2014
1 parent b5a8aa1 commit 329c1b7
Showing 7 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -204,7 +204,7 @@ GRAPH
user (>= 0.0.0)
rubygems-apt (0.0.15)
apt (>= 0.0.0)
rubygems-backups (0.0.18)
rubygems-backups (0.0.19)
chef-vault (>= 0.0.0)
rubygems-ruby (>= 0.0.0)
rubygems-balancer (0.0.34)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-backups/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-backups'

version '0.0.18'
version '0.0.19'

depends 'chef-vault'
depends 'rubygems-ruby'
2 changes: 2 additions & 0 deletions cookbooks/rubygems-backups/recipes/postgresql.rb
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@
day '*'
month '*'
weekday '*'
path '/usr/local/bin:/usr/bin:/bin'
command "backup perform --trigger postgresql --config-file #{File.join(node['rubygems']['backups']['config_dir'], 'postgresql.rb')}"
user 'root'
end
@@ -58,6 +59,7 @@
day '*'
month '*'
weekday '1'
path '/usr/local/bin:/usr/bin:/bin'
command "backup perform --trigger public_postgresql --config-file #{File.join(node['rubygems']['backups']['config_dir'], 'public_postgresql.rb')}"
user 'root'
only_if { node.chef_environment == 'production' }
1 change: 1 addition & 0 deletions cookbooks/rubygems-backups/recipes/redis.rb
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@
day '*'
month '*'
weekday '*'
path '/usr/local/bin:/usr/bin:/bin'
command "backup perform --trigger redis --config-file #{File.join(node['rubygems']['backups']['config_dir'], 'redis.rb')}"
user 'root'
end
2 changes: 1 addition & 1 deletion environments/common.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"rubygems": "= 0.0.27",
"rubygems-app": "= 0.0.31",
"rubygems-apt": "= 0.0.15",
"rubygems-backups": "= 0.0.18",
"rubygems-backups": "= 0.0.19",
"rubygems-balancer": "= 0.0.32",
"rubygems-bastion": "= 0.0.10",
"rubygems-cache": "= 0.0.3",
2 changes: 1 addition & 1 deletion environments/production.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"rubygems": "= 0.0.27",
"rubygems-app": "= 0.0.31",
"rubygems-apt": "= 0.0.15",
"rubygems-backups": "= 0.0.18",
"rubygems-backups": "= 0.0.19",
"rubygems-balancer": "= 0.0.34",
"rubygems-bastion": "= 0.0.10",
"rubygems-cache": "= 0.0.3",
2 changes: 1 addition & 1 deletion environments/staging.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"rubygems": "= 0.0.27",
"rubygems-app": "= 0.0.31",
"rubygems-apt": "= 0.0.15",
"rubygems-backups": "= 0.0.18",
"rubygems-backups": "= 0.0.19",
"rubygems-balancer": "= 0.0.34",
"rubygems-bastion": "= 0.0.10",
"rubygems-cache": "= 0.0.3",

0 comments on commit 329c1b7

Please sign in to comment.