Fix beaker tests to use openstack_integration for RabbitMQ
The RabbitMQ acceptance tests used to be pointing towards the Kilo repos. This patch addresses it so that it leverages the Puppet OpenStack integration manifests instead. Change-Id: I3a647184141f5d66f212ee91d4cf36e8547c7517
This commit is contained in:
@@ -6,21 +6,9 @@ describe 'openstacklib class' do
|
|||||||
|
|
||||||
it 'should work with no errors' do
|
it 'should work with no errors' do
|
||||||
pp= <<-EOS
|
pp= <<-EOS
|
||||||
Exec { logoutput => 'on_failure' }
|
include ::openstack_integration
|
||||||
|
include ::openstack_integration::repos
|
||||||
if $::osfamily == 'RedHat' {
|
include ::openstack_integration::rabbitmq
|
||||||
class { '::openstack_extras::repo::redhat::redhat':
|
|
||||||
release => 'kilo',
|
|
||||||
manage_epel => false,
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
include ::apt
|
|
||||||
}
|
|
||||||
|
|
||||||
class { '::rabbitmq':
|
|
||||||
delete_guest_user => true,
|
|
||||||
package_provider => $::package_provider
|
|
||||||
}
|
|
||||||
|
|
||||||
# openstacklib resources
|
# openstacklib resources
|
||||||
include ::openstacklib::openstackclient
|
include ::openstacklib::openstackclient
|
||||||
|
Reference in New Issue
Block a user