This installs and configures Celery.
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-python module as well.
If you need to bootstrap RabbitMQ
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.
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"], }
TODO