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

Commit

Permalink
Use db02.production for the new VPC-based instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Kottler committed Jul 13, 2014
1 parent 3db156e commit 2d2bbbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Expand Up @@ -189,7 +189,7 @@ GRAPH
rubygems-sensu (>= 0.0.0)
rubygems-ssh (>= 0.0.0)
rubygems-utility (>= 0.0.0)
rubygems-app (0.0.22)
rubygems-app (0.0.23)
apt (>= 0.0.0)
chef-vault (>= 0.0.0)
git (>= 0.0.0)
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/metadata.rb
@@ -1,6 +1,6 @@
name 'rubygems-app'

version '0.0.22'
version '0.0.23'

depends 'apt'
depends 'chef-vault'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/config.rb
Expand Up @@ -6,7 +6,7 @@
include_recipe 'chef-vault'

secrets = chef_vault_item('rubygems', node.chef_environment)
db_host = search(:node, "name:db01.#{node.chef_environment}.rubygems.org")[0]
db_host = search(:node, "name:db02.#{node.chef_environment}.rubygems.org")[0]

template '/applications/rubygems/shared/database.yml' do
source 'database.yml.erb'
Expand Down

0 comments on commit 2d2bbbf

Please sign in to comment.