cookbook 'rabbitmq-cluster', '= 0.1.0'
rabbitmq-cluster (5) Versions 0.1.0 Follow3
Configures rabbitmq cluster
cookbook 'rabbitmq-cluster', '= 0.1.0', :supermarket
knife supermarket install rabbitmq-cluster
knife supermarket download rabbitmq-cluster
rabbitmq-cluster-cookbook
This cookbook is wrapper of Opscode rabbitmq cookbook. it configures rabbitmq cluster by executing rabbitmqctl command.
Please take a look at the Vagrant file and roles directory as an example.
Supported Platforms
- ubuntu/trusty64
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['rabbitmq-cluster']['node_type']</tt></td>
<td>String</td>
<td>"master" or "slave"</td>
<td><tt>master</tt></td>
</tr>
<tr>
<td><tt>['rabbitmq-cluster']['master_node_name']</tt></td>
<td>String</td>
<td>Master node name to join in cluster. default value is an example. please modify in your recipe.</td>
<td><tt>rabbit@rabbit1</tt></td>
</tr>
<tr>
<td><tt>['rabbitmq-cluster']['cluster_node_type']</tt></td>
<td>String</td>
<td>"disc" or "ram"</td>
<td><tt>disc</tt></td>
</tr>
</table>
Usage
rabbitmq-cluster::default
Include rabbitmq-cluster
in your node's run_list
:
{ "run_list": [ "recipe[rabbitmq-cluster::default]" ] }
License and Authors
Author:: Sunggun Yu (<YOUR_EMAIL>)
Dependent cookbooks
rabbitmq >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of rabbitmq-cluster
Foodcritic Metric
0.1.0 failed this metric
FC023: Prefer conditional attributes: /tmp/cook/eeff6073acd4472990efdefa/rabbitmq-cluster/recipes/default.rb:20
FC023: Prefer conditional attributes: /tmp/cook/eeff6073acd4472990efdefa/rabbitmq-cluster/recipes/default.rb:27
0.1.0 failed this metric
FC023: Prefer conditional attributes: /tmp/cook/eeff6073acd4472990efdefa/rabbitmq-cluster/recipes/default.rb:27