Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

kochalex/opsworks-resque-scheduler

 
 

Repository files navigation

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 (pedroaxl@gmail.com)

About

A Chef cookbook to run resque resque-scheduler on Amazon OpsWorks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 71.6%
  • Ruby 28.4%