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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Puppet module for creating and managing resque-pool services
To install as a git submodule, run:
$ git submodule add git@github.com:simpleweb/puppet-resque_pool.git modules/resque_pool
Use this module to:
resque-pool
gem is installedresque-pool
service instancesInstall 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}
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)