simpleweb/puppet-resque_pool

Name: puppet-resque_pool

Owner: Simpleweb

Description: Puppet module for resque-pool

Created: 2014-01-28 18:15:04.0

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

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

Homepage: null

Size: 208

Language: Puppet

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

puppet-resque_pool

Puppet module for creating and managing resque-pool services

Install

To install as a git submodule, run:

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

Use this module to:

Install gem

ude resque_pool::install

Create a service

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

sque_pool::instance { "acme":
app_root => $rack_root,
config_file => "$rack_root/config/resque-pool.yml",
pidfile => "$rack_root/tmp/pids/resque-pool.yml",
user => "acme",
group => "acme",
bin_path => "/usr/local/bin/resque-pool",

Commands available from example above:

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

Available parameters (with defaults)

nfig_file*] - path to the resque-pool.yml config file
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
n_path*] - path to the resque-pool binary (resque-pool)
ck_env*] - rack environment (production)
dout_path*] - path to the stdout log ($app_root/log/resque_pool_${name}.stdout.log)
derr_path*] - path to the stderr log ($app_root/log/resque_pool_${name}.stderr.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.