Skip to content
Puppet module for setting up Celery
Find file
Latest commit 75950bc @codeinthehole Fixed README example
Failed to load latest commit information.


Puppet module for Celeryd

Simple puppet module for Celery.

This module will:

  • Create folders for PID files and logs
  • Create a celery user
  • Create an init script in /etc/init.d
  • Ensure the Celery daemon is running

It's pretty basic at the moment.


You need to pass the path to your Celery config file:

include celeryd
celeryd::service { "celeryd":
    conf_path => "/path/to/conf/file",

You can also pass an environment variable which is used to name the init script in /etc/init.d. This allows multiple Celery daemons to be run on the same server (useful for small projects where a test and stage build may sit on the same machine). Usage:

include celeryd
celeryd::service { "celeryd-test":
    conf_path => "/var/www/project/config/celeryd/stage"
    environment => "test"
celeryd::service { "celeryd-stage":
    conf_path => "/var/www/project/config/celeryd/test"
    environment => "stage"
Something went wrong with that request. Please try again.