ZC Buildout recipe for setting up RabbitMQ.
Project description
Buildout recipe for downloading and installing RabbitMQ.
A brief documentation
This recipe takes a number of options:
- erlang-path
The path where to find the erlc command (default = /usr/local/bin).
- url
The URL to download the RabbitMQ source distribution.
- prefix
Prefix path (default = <buildout directory>).
Tests
We will define a buildout template used by the recipe:
>>> buildout_cfg = """ ... [buildout] ... parts = rabbitmq ... offline = true ... ... [rabbitmq] ... recipe = rod.recipe.rabbitmq ... url = http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.2/rabbitmq-server-1.7.2.tar.gz ... """
We’ll start by creating a buildout:
>>> import os.path
>>> write('buildout.cfg', buildout_cfg)
Running the buildout gives us:
>>> output = system(buildout)
>>> if output.endswith("ebin ebin/rabbit.app < ebin/rabbit_app.in\n"): True
... else: print output
True
Changes
1.1.2 2010-05-02
fixed parameter in generated rabbitmq-server script (-sname instead of -name)
1.1.1 2010-03-21
Fixes an issue where the Erlang path wasn’t set correctly.
1.1.0 2010-03-20
Updated for RabbitMQ 1.7.2.
1.0.0 2009-08-23
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rod.recipe.rabbitmq-1.1.2.tar.gz.
File metadata
- Download URL: rod.recipe.rabbitmq-1.1.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc87832a24770826df5819953f406b0da0f2435ce9e79213e9825bac2edb220e
|
|
| MD5 |
8838941a0dfcec9964812662aaee5a0b
|
|
| BLAKE2b-256 |
efa42f0f6a5d7a355a47c199bf31b2f9acd6e0db5187981b18877a4e7e5542a5
|