We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4c6fc commit 8bd94b8Copy full SHA for 8bd94b8
spec/classes/rabbitmq_spec.rb
@@ -411,6 +411,21 @@
411
is_expected.to contain_file('rabbitmq.config').with('content' => %r{cluster_nodes.*\['rabbit@hare-1', 'rabbit@hare-2'\], ram})
412
end
413
414
+
415
+ describe 'without cluster_nodes and sets appropriate configuration' do
416
+ let(:params) do
417
+ {
418
+ config_cluster: true,
419
+ cluster_node_type: 'ram',
420
+ erlang_cookie: 'ORIGINAL',
421
+ wipe_db_on_cookie_change: true
422
+ }
423
+ end
424
425
+ it 'for cluster_nodes' do
426
+ is_expected.to contain_file('rabbitmq.config').with('content' => %r{cluster_nodes.*\[\], ram})
427
428
429
430
431
describe 'rabbitmq-env configuration' do
0 commit comments