forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.rb
62 lines (50 loc) · 2.25 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
maintainer "Benjamin Black"
maintainer_email "b@b3k.us"
license "Apache 2.0"
description "Installs and configures RabbitMQ server"
version "0.3"
recipe "rabbitmq", "Install and configure RabbitMQ"
recipe "rabbitmq::cluster", "Set up RabbitMQ clustering."
%w{ubuntu debian}.each do |os|
supports os
end
attribute "rabbitmq",
:display_name => "RabbitMQ",
:description => "Hash of RabbitMQ attributes",
:type => "hash"
attribute "rabbitmq/nodename",
:display_name => "RabbitMQ Erlang node name",
:description => "The Erlang node name for this server. The default is rabbit.",
:default => "rabbit"
attribute "rabbitmq/address",
:display_name => "RabbitMQ server IP address",
:description => "IP address to bind. The default is any.",
:default => "0.0.0.0"
attribute "rabbitmq/port",
:display_name => "RabbitMQ server port",
:description => "TCP port to bind. The default is 5672.",
:default => "5672"
attribute "rabbitmq/logdir",
:display_name => "RabbitMQ log directory",
:description => "Path to the directory for log files. The default is /var/log/rabbitmq.",
:default => "/var/log/rabbitmq"
attribute "rabbitmq/mnesiadir",
:display_name => "RabbitMQ Mnesia database directory",
:description => "Path to the directory for Mnesia database files. The default is /var/lib/rabbitmq/mnesia.",
:default => "/var/lib/rabbitmq/mnesia"
attribute "rabbitmq/cluster",
:display_name => "RabbitMQ clustering",
:description => "Whether to activate clustering. The default is no.",
:default => "no"
attribute "rabbitmq/cluster_config",
:display_name => "RabbitMQ clustering configuration file",
:description => "Path to the clustering configuration file, if cluster is yes. The default is /etc/rabbitmq/rabbitmq_cluster.config.",
:default => "/etc/rabbitmq/rabbitmq_cluster.config"
attribute "rabbitmq/cluster_disk_nodes",
:display_name => "RabbitMQ cluster disk nodes",
:description => "Array of member Erlang nodenames for the disk-based storage nodes in the cluster. The default is [].",
:default => [],
:type => "array"
attribute "rabbitmq/erlang_cookie",
:display_name => "RabbitMQ Erlang cookie",
:description => "Access cookie for clustering nodes. There is no default."