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