simpleweb/puppet-resque_scheduler

Name: puppet-resque_scheduler

Owner: Simpleweb

Description: Puppet module for creating and managing resque-scheduler services

Created: 2014-03-28 14:10:59.0

Updated: 2014-03-28 16:08:23.0

Pushed: 2014-03-28 16:08:23.0

Homepage: null

Size: 160

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

puppet-resque_scheduler

Puppet module for creating and managing resque-scheduler services

Install

To install as a git submodule, run:

$ git submodule add git@github.com:simpleweb/puppet-resque_scheduler.git modules/resque_scheduler
Usage

Use this module to:

Install gem

ude resque_scheduler::install

Create a service

ack_root = "/home/acme/rack-app"

sque_scheduler::instance { "acme":
app_root => $rack_root,
config_file => "$rack_root/config/resque-scheduler.yml",
pidfile => "$rack_root/tmp/pids/resque-scheduler.pid",
user => "acme",
group => "acme",

Commands available from example above:

service resque_scheduler_acme
age: /etc/init.d/resque_scheduler_acme {start|stop|restart|status}
Configuration

Available parameters (with defaults)

dfile*] - path to the pidfile
er*] - user to run the process as
oup*] - group to run the process as
p_root*] - path to the rack application, should contain a config.ru file
ndler_executable*] - path to bundle (bundle)
n_path*] - path to the resque-scheduler binary (resque-scheduler)
ck_env*] - rack environment (production)
g_path*] - path to log to ($app_root/log/resque_scheduler_${name}.log)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.