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
Sam Kottler committed Jul 13, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3db156e commit 2d2bbbf
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-app'

version '0.0.22'
version '0.0.23'

depends 'apt'
depends 'chef-vault'
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/config.rb
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 2d2bbbf

Please sign in to comment.