-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from kotiri/foodcritic
Resolve foodcritic warnings
- Loading branch information
Showing
8 changed files
with
52 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
# being nil, the rabbitmq defaults will be used | ||
default[:rabbitmq][:nodename] = nil | ||
default[:rabbitmq][:address] = nil | ||
default[:rabbitmq][:port] = nil | ||
default[:rabbitmq][:config] = nil | ||
default[:rabbitmq][:logdir] = nil | ||
default[:rabbitmq][:mnesiadir] = nil | ||
default['rabbitmq']['nodename'] = nil | ||
default['rabbitmq']['address'] = nil | ||
default['rabbitmq']['port'] = nil | ||
default['rabbitmq']['config'] = nil | ||
default['rabbitmq']['logdir'] = nil | ||
default['rabbitmq']['mnesiadir'] = nil | ||
|
||
# RabbitMQ version to install for "redhat", "centos", "scientific", and "amazon". We default to | ||
# 2.6.1, because that was what was installed in the previous version of the cookbook. | ||
default[:rabbitmq][:version] = '2.8.4' | ||
# RabbitMQ version to install for "redhat", "centos", "scientific", and "amazon". | ||
default['rabbitmq']['version'] = '2.8.4' | ||
|
||
# config file location | ||
# http://www.rabbitmq.com/configure.html#define-environment-variables | ||
# "The .config extension is automatically appended by the Erlang runtime." | ||
default[:rabbitmq][:config] = "/etc/rabbitmq/rabbitmq" | ||
default['rabbitmq']['config'] = "/etc/rabbitmq/rabbitmq" | ||
|
||
# rabbitmq.config defaults | ||
default[:rabbitmq][:default_user] = 'guest' | ||
default[:rabbitmq][:default_pass] = 'guest' | ||
default['rabbitmq']['default_user'] = 'guest' | ||
default['rabbitmq']['default_pass'] = 'guest' | ||
|
||
#clustering | ||
default[:rabbitmq][:cluster] = false | ||
default[:rabbitmq][:cluster_disk_nodes] = [] | ||
default[:rabbitmq][:erlang_cookie] = 'AnyAlphaNumericStringWillDo' | ||
default['rabbitmq']['cluster'] = false | ||
default['rabbitmq']['cluster_disk_nodes'] = [] | ||
default['rabbitmq']['erlang_cookie'] = 'AnyAlphaNumericStringWillDo' | ||
|
||
#ssl | ||
default[:rabbitmq][:ssl] = false | ||
default[:rabbitmq][:ssl_port] = '5671' | ||
default[:rabbitmq][:ssl_cacert] = '/path/to/cacert.pem' | ||
default[:rabbitmq][:ssl_cert] = '/path/to/cert.pem' | ||
default[:rabbitmq][:ssl_key] = '/path/to/key.pem' | ||
default['rabbitmq']['ssl'] = false | ||
default['rabbitmq']['ssl_port'] = '5671' | ||
default['rabbitmq']['ssl_cacert'] = '/path/to/cacert.pem' | ||
default['rabbitmq']['ssl_cert'] = '/path/to/cert.pem' | ||
default['rabbitmq']['ssl_key'] = '/path/to/key.pem' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<%= node[:rabbitmq][:erlang_cookie] %> | ||
<%= node['rabbitmq']['erlang_cookie'] %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters