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

Commit

Permalink
Disable hostname management and use the right redis node for search
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 e39fd7f commit c69e1c5
Showing 6 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Berksfile.lock
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ GRAPH
redisio (1.7.1)
ulimit (>= 0.1.2)
rsyslog (1.12.2)
rubygems (0.0.22)
rubygems (0.0.23)
ohai (>= 0.0.0)
rubygems-apt (>= 0.0.0)
rubygems-chef (>= 0.0.0)
@@ -189,7 +189,7 @@ GRAPH
rubygems-sensu (>= 0.0.0)
rubygems-ssh (>= 0.0.0)
rubygems-utility (>= 0.0.0)
rubygems-app (0.0.23)
rubygems-app (0.0.24)
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.23'
version '0.0.24'

depends 'apt'
depends 'chef-vault'
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/delayed_job.rb
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
# Recipe:: delayed_job
#

redis_ip = search('node', "name:redis01.#{node.chef_environment}.rubygems.org")[0]['ipaddress']
redis_ip = search('node', "name:redis02.#{node.chef_environment}.rubygems.org")[0]['ipaddress']

runit_service 'delayed_job' do
owner 'deploy'
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/unicorn.rb
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
before_fork 'sleep 1'
end

redis_ip = search('node', "name:redis01.#{node.chef_environment}.rubygems.org")[0]['ipaddress']
redis_ip = search('node', "name:redis02.#{node.chef_environment}.rubygems.org")[0]['ipaddress']

runit_service 'unicorn' do
owner 'deploy'
2 changes: 1 addition & 1 deletion cookbooks/rubygems/metadata.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
maintainer 'RubyGems.org Ops Team'
license 'MIT'
description 'RubyGems base recipes'
version '0.0.22'
version '0.0.23'

depends 'rubygems-apt'
depends 'rubygems-chef'
1 change: 0 additions & 1 deletion cookbooks/rubygems/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@
include_recipe 'rubygems-apt'
include_recipe 'rubygems-chef'
include_recipe 'rubygems-cloud-init'
include_recipe 'rubygems-hostname'
include_recipe 'rubygems-hosts'
include_recipe 'rubygems-logging'
include_recipe 'rubygems-metrics'

0 comments on commit c69e1c5

Please sign in to comment.