forked from rabbitmq/chef-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
133 lines (109 loc) · 4.58 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name 'rabbitmq'
maintainer 'Chef, Inc.'
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Installs and configures RabbitMQ server'
version '4.8.0'
recipe 'rabbitmq', 'Install and configure RabbitMQ'
recipe 'rabbitmq::cluster', 'Set up RabbitMQ clustering.'
recipe 'rabbitmq::plugin_management', 'Manage plugins with node attributes'
recipe 'rabbitmq::virtualhost_management', 'Manage virtualhost with node attributes'
recipe 'rabbitmq::user_management', 'Manage users with node attributes'
issues_url 'https://github.com/jjasghar/rabbitmq/issues'
source_url 'https://github.com/jjasghar/rabbitmq/'
depends 'erlang'
depends 'yum-epel'
depends 'yum-erlang_solutions'
depends 'dpkg_autostart'
supports 'debian', '>= 8.0'
supports 'ubuntu', '>= 14.04'
supports 'redhat'
supports 'centos', '>= 7.0'
supports 'scientific'
supports 'oracle'
supports 'smartos'
supports 'suse'
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.',
:default => "node['hostname']"
attribute 'rabbitmq/address',
:display_name => 'RabbitMQ server IP address',
:description => 'IP address to bind.'
attribute 'rabbitmq/port',
:display_name => 'RabbitMQ server port',
:description => 'TCP port to bind.'
attribute 'rabbitmq/config',
:display_name => 'RabbitMQ config file to load',
:description => 'Path to the rabbitmq.config file, if any.'
attribute 'rabbitmq/config_template_cookbook',
:display_name => 'Cookbook to load rabbitmq.config.erb from',
:description => 'Override this if you wish to provide rabbitmq.config.erb in your own wrapper cookbook.',
:default => 'rabbitmq'
attribute 'rabbitmq/logdir',
:display_name => 'RabbitMQ log directory',
:description => 'Path to the directory for log files.'
attribute 'rabbitmq/mnesiadir',
:display_name => 'RabbitMQ Mnesia database directory',
:description => 'Path to the directory for Mnesia database files.'
attribute 'rabbitmq/cluster',
:display_name => 'RabbitMQ clustering',
:description => 'Whether to activate clustering.',
:default => 'no'
attribute 'rabbitmq/cluster_config',
:display_name => 'RabbitMQ clustering configuration file',
:description => 'Path to the clustering configuration file, if cluster is yes.',
: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.',
:default => [],
:type => 'array'
attribute 'rabbitmq/erlang_cookie',
:display_name => 'RabbitMQ Erlang cookie',
:description => 'Access cookie for clustering nodes. There is no default.'
attribute 'rabbitmq/virtualhosts',
:display_name => 'Virtualhosts on rabbitmq instance',
:description => 'List all virtualhosts that will exist',
:default => [],
:type => 'array'
attribute 'rabbitmq/enabled_users',
:display_name => 'Users and their rights on rabbitmq instance',
:description => 'Users and description of their rights',
:default => [{ :name => 'guest', :password => 'guest', :rights => [{ :vhost => nil, :conf => '.*', :write => '.*', :read => '.*' }] }],
:type => 'array'
attribute 'rabbitmq/disabled_users',
:display_name => 'Disabled users',
:description => 'List all users that will be deactivated',
:default => [],
:type => 'array'
attribute 'rabbitmq/enabled_plugins',
:display_name => 'Enabled plugins',
:description => 'List all plugins that will be activated',
:default => [],
:type => 'array'
attribute 'rabbitmq/disabled_plugins',
:display_name => 'Disabled plugins',
:description => 'List all plugins that will be deactivated',
:default => [],
:type => 'array'
attribute 'rabbitmq/local_erl_networking',
:display_name => 'Local Erlang networking',
:description => 'Bind erlang networking to localhost'
attribute 'rabbitmq/erl_networking_bind_address',
:display_name => 'Erl Networking Bind Address',
:description => 'Bind Rabbit and erlang networking to an address'
attribute 'rabbitmq/loopback_users',
:display_name => 'Loopback Users',
:description => 'A list of users which can only connect over a loopback interface (localhost)',
:default => nil,
:type => 'array'
attribute 'rabbitmq/additional_env_settings',
:display_name => 'Additional ENV settings',
:description => 'A list of lines to append to rabbitmq-env.conf for settings that may not yet be available with existing attributes',
:default => nil,
:type => 'array'