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
(cherry picked from commit 735c6641f0)
This commit is contained in:
Mohammed Naser 2017-09-19 11:02:10 -04:00 committed by Emilien Macchi
parent 134c737cfd
commit 86839441bb
1 changed files with 3 additions and 15 deletions

View File

@ -6,21 +6,9 @@ describe 'openstacklib class' do
it 'should work with no errors' do
pp= <<-EOS
Exec { logoutput => 'on_failure' }
if $::osfamily == 'RedHat' {
class { '::openstack_extras::repo::redhat::redhat':
release => 'kilo',
manage_epel => false,
}
} else {
include ::apt
}
class { '::rabbitmq':
delete_guest_user => true,
package_provider => $::package_provider
}
include ::openstack_integration
include ::openstack_integration::repos
include ::openstack_integration::rabbitmq
# openstacklib resources
include ::openstacklib::openstackclient