messaging: add erlang_cookie parameter
We updated puppetlabs-rabbitmq to latest stable version, so we need to set erlang_cookie parameter. Also, we set it as required without default value so we ensure all deployments need to configure it in the data. Change-Id: I1fba5d7277ec54281913f1a30d88649cd3c5b17b
This commit is contained in:
@@ -27,6 +27,7 @@ describe 'cloud::messaging' do
|
||||
:cluster_node_type => 'disc',
|
||||
:rabbit_names => ['foo','boo','zoo'],
|
||||
:rabbit_password => 'secrete',
|
||||
:erlang_cookie => 'MY_COOKIE',
|
||||
:rabbitmq_ip => '10.0.0.1',
|
||||
}
|
||||
end
|
||||
@@ -39,6 +40,7 @@ describe 'cloud::messaging' do
|
||||
:wipe_db_on_cookie_change => true,
|
||||
:cluster_node_type => params[:cluster_node_type],
|
||||
:node_ip_address => params[:rabbitmq_ip],
|
||||
:erlang_cookie => params[:erlang_cookie],
|
||||
:port => '5672',
|
||||
)
|
||||
end
|
||||
@@ -102,6 +104,10 @@ describe 'cloud::messaging' do
|
||||
{ :osfamily => 'RedHat' }
|
||||
end
|
||||
|
||||
let :params do
|
||||
{ :erlang_cookie => 'MY_COOKIE' }
|
||||
end
|
||||
|
||||
it_configures 'openstack messaging'
|
||||
|
||||
it 'should create rabbitmq binaries symbolic links' do
|
||||
|
Reference in New Issue
Block a user