Permalink
Browse files

run resque/scheduler on app_master

  • Loading branch information...
1 parent cd511da commit a03cd21bd7638a948d663a0c97b3102c81110d19 @aserafin committed Oct 3, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 cookbooks/resque-scheduler/recipes/default.rb
  2. +1 −1 cookbooks/resque/recipes/default.rb
@@ -2,7 +2,7 @@
# Cookbook Name:: resque-scheduler
# Recipe:: default
#
-if ['solo', 'util'].include?(node[:instance_role])
+if ['solo', 'util', 'app_master'].include?(node[:instance_role])
execute "install resque gem" do
command "gem install resque redis redis-namespace yajl-ruby -r"
not_if { "gem list | grep resque" }
@@ -2,7 +2,7 @@
# Cookbook Name:: resque
# Recipe:: default
#
-if ['solo', 'util'].include?(node[:instance_role])
+if ['solo', 'util', 'app_master'].include?(node[:instance_role])
execute "install resque gem" do
command "gem install resque redis redis-namespace yajl-ruby -r"

0 comments on commit a03cd21

Please sign in to comment.