Skip to content

Latest commit

 

History

History
executable file
·
42 lines (25 loc) · 897 Bytes

README.md

File metadata and controls

executable file
·
42 lines (25 loc) · 897 Bytes

opsworks-resque-scheduler cookbook

This is a very simple cookbook to deploy resque scheduler on a simple instance at Amazon OpsWorks

Requirements

Usage

In your custom layer, you must add this recipes to each stage

Configure

rails::configure opsworks-resque-scheduler::configure

Deploy

deploy::rails opsworks-resque-scheduler::restart

Shutdown

opsworks-resque-scheduler::stop

Attributes

It expects an array with the queues of workers to run, for example

default['resque-scheduler']['path'] = "/srv/www/mailee_staging/current"
default['resque-scheduler']['rails_env'] = "preproduction"

Recipes

opsworks-resque-scheduler::configure - initial setup opsworks-resque-scheduler::restart - restart the workers (after deploy) opsworks-resque-scheduler::stop - stop the workers (shutdown)

Author

Author:: Pedro Axelrud ([email protected])