Sha256: f0574519f4af801e2c5c519c2e03cb8ee0b9294dd08b81ad624ec6d8638c4cc7

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

#
# Cookbook Name:: delayed_job
# Recipe:: install
#

# This recipe will setup `delayed_job` on a Solo instance environment or on named Utility instances in a cluster environment. 
# Name your Utility instances with prefixes: `dj`, `delayed_job`, `delayedjob`. For example, `dj1`, `delayedjob4`.
if node[:instance_role] == "solo" || node[:instance_role] == "eylocal" || 
        (node[:instance_role] == "util" && node[:name] =~ /^(dj|delayed_job|delayedjob)/)
  delayed_job_applications().each do |app_name,data|
  
    directory "/engineyard/bin" do
      owner "root"
      group "root"
      mode 0755
    end

    template "/engineyard/bin/dj" do
      source "dj.erb"
      owner "root"
      group "root"
      mode 0755
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eycloud-recipe-delayed_job-1.0.1 recipes/install.rb
eycloud-recipe-delayed_job-1.0 recipes/install.rb