Skip to content

Commit

Permalink
run resque/scheduler on app_master
Browse files Browse the repository at this point in the history
  • Loading branch information
aserafin committed Oct 3, 2013
1 parent cd511da commit a03cd21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/resque-scheduler/recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook Name:: resque-scheduler # Cookbook Name:: resque-scheduler
# Recipe:: default # Recipe:: default
# #
if ['solo', 'util'].include?(node[:instance_role]) if ['solo', 'util', 'app_master'].include?(node[:instance_role])
execute "install resque gem" do execute "install resque gem" do
command "gem install resque redis redis-namespace yajl-ruby -r" command "gem install resque redis redis-namespace yajl-ruby -r"
not_if { "gem list | grep resque" } not_if { "gem list | grep resque" }
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/resque/recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook Name:: resque # Cookbook Name:: resque
# Recipe:: default # Recipe:: default
# #
if ['solo', 'util'].include?(node[:instance_role]) if ['solo', 'util', 'app_master'].include?(node[:instance_role])


execute "install resque gem" do execute "install resque gem" do
command "gem install resque redis redis-namespace yajl-ruby -r" command "gem install resque redis redis-namespace yajl-ruby -r"
Expand Down

0 comments on commit a03cd21

Please sign in to comment.