Skip to content

aspectit/puppet-celery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

celery for puppet

This installs and configures Celery.

This is a puppet module for using Python's pip. Puppet has a built-in pip provider, but it's implementation leaves out a few pieces:

  • No ability to install from requirements file.
  • No ability to add extra arguments
  • No support for using mirrors or specifying alternate indexes.

This module fixes this.

Usage

Make sure this module is available by adding this repository's contents in a directory called celery inside your Puppet's moduledir. It also requires the puppet-pip module as well.

Bootstrapping RabbitMQ

If you need to bootstrap RabbitMQ (note that this requires that you have this version of puppetlabs-rabbitmq to run on RabbitMQ 2.6):

class { "celery::rabbitmq": }

You should provide a user, vhost, and password along these lines:

class { "celery::rabbitmq":
  $user => "myuser",
  $vhost => "myvhost",
  $password => "secret",
}

This installs and configures RabbitMQ. Take a look at puppetlabs-rabbitmq if you need more flexibility in how your RabbitMQ instance is initialized.

Creating Celery Server

You create a celery server with the celery::server class like this:

class { "celery::server": }

If you're relying on the RabbitMQ bootstrap, you would set it up like this:

class { "celery::server":
  require => Class["celery::rabbitmq"],
}

Configuration

TODO

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.5%
  • Puppet 35.5%
  • Python 2.0%