Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove attributes from the metadata #406

Merged
merged 2 commits into from
Jan 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 1 addition & 106 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,109 +27,4 @@
supports 'scientific'
supports 'smartos'
supports 'suse'
supports 'ubuntu', '>= 14.04'

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'
supports 'ubuntu', '>= 14.04'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline at EOF might make rubocop unhappy, unless you're ignoring that cop

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I'll make sure that 5.0.0 has rubocop happy before releasing it.