Skip to content

Commit

Permalink
revert to 'all applications get delayed job recipe'
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Mar 14, 2012
1 parent ab9c75f commit edf4aba
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ class Chef
class Recipe
# Only Rails applications (containing script/runner) are valid
def delayed_job_applications
node[:applications].inject([]) do |apps, app_name_and_data|
app_name, _ = app_name_and_data
app_path = "/data/#{app_name}/current/script/runner"
if File.exist?(app_path)
apps << app_name_and_data
end
apps
end
node[:applications]
end
end
end

0 comments on commit edf4aba

Please sign in to comment.