This is a very simple cookbook to deploy resque scheduler on a simple instance at Amazon OpsWorks
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
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"
opsworks-resque-scheduler::configure - initial setup opsworks-resque-scheduler::restart - restart the workers (after deploy) opsworks-resque-scheduler::stop - stop the workers (shutdown)
Author:: Pedro Axelrud ([email protected])