Fix package_provider for RedHat systems
The package_provider parameter of the rabbitmq defaults to 'rpm' which can give dependecy problems, this patch sets it to yum which addresses this potential problems. Conflicts: manifests/messaging.pp Change-Id: I8dde5c0c22d227a6b48a53a09952450449e6bd53
This commit is contained in:
@@ -42,6 +42,7 @@ describe 'cloud::messaging' do
|
||||
:node_ip_address => params[:rabbitmq_ip],
|
||||
:erlang_cookie => params[:erlang_cookie],
|
||||
:port => '5672',
|
||||
:package_provider => platform_params[:package_provider],
|
||||
)
|
||||
end
|
||||
|
||||
@@ -96,6 +97,10 @@ describe 'cloud::messaging' do
|
||||
{ :osfamily => 'Debian' }
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :package_provider => 'apt' }
|
||||
end
|
||||
|
||||
it_configures 'openstack messaging'
|
||||
end
|
||||
|
||||
@@ -104,6 +109,11 @@ describe 'cloud::messaging' do
|
||||
{ :osfamily => 'RedHat' }
|
||||
end
|
||||
|
||||
|
||||
let :platform_params do
|
||||
{ :package_provider => 'yum' }
|
||||
end
|
||||
|
||||
let :params do
|
||||
{ :erlang_cookie => 'MY_COOKIE' }
|
||||
end
|
||||
|
Reference in New Issue
Block a user