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
  • Loading branch information
Sam Kottler committed Jul 13, 2014
1 parent e39fd7f commit c69e1c5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Berksfile.lock
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/metadata.rb
@@ -1,6 +1,6 @@
name 'rubygems-app'

version '0.0.23'
version '0.0.24'

depends 'apt'
depends 'chef-vault'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/delayed_job.rb
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/recipes/unicorn.rb
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems/metadata.rb
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion cookbooks/rubygems/recipes/default.rb
Expand Up @@ -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'
Expand Down

0 comments on commit c69e1c5

Please sign in to comment.