Switch RHEL to using distribution packages for rabbitmq
Installing rabbitmq without using the distro version is failing and it works if you use the distro version. So let's standardize on that for both ubuntu and RHEL. Change-Id: If757cf57574bb8389ae270523bfc3772d8dc08db Signed-off-by: Lance Albertson <lance@osuosl.org>
This commit is contained in:
parent
ce6f3f40b3
commit
3abf7d79a1
|
@ -26,8 +26,9 @@ default['openstack']['mq']['cluster'] = false
|
|||
# see https://www.rabbitmq.com/clustering.html
|
||||
default['openstack']['mq']['search_for_cluster_disk_nodes'] = true
|
||||
|
||||
normal['rabbitmq']['use_distro_version'] = true
|
||||
|
||||
if platform_family?('debian', 'suse')
|
||||
normal['rabbitmq']['use_distro_version'] = true
|
||||
normal['rabbitmq']['config'] = '/etc/rabbitmq/rabbitmq.config'
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ describe 'openstack-ops-messaging::rabbitmq-server' do
|
|||
include_context 'ops_messaging_stubs'
|
||||
|
||||
it 'does not set use_distro_version to true' do
|
||||
expect(chef_run.node['rabbitmq']['use_distro_version']).to_not be_truthy
|
||||
expect(chef_run.node['rabbitmq']['use_distro_version']).to be_truthy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue