Debian/Ubuntu: Enable vitrage service in acceptance tests
... because now vitrage packages are available for these operating systems. Change-Id: Id9b5b5d74ac4009e6c4c960e5473881e0b2c3aa4
This commit is contained in:
parent
c453511c44
commit
f112b5699a
|
@ -14,31 +14,17 @@ describe 'basic vitrage' do
|
||||||
include openstack_integration::memcached
|
include openstack_integration::memcached
|
||||||
include openstack_integration::keystone
|
include openstack_integration::keystone
|
||||||
|
|
||||||
case $::osfamily {
|
include openstack_integration::vitrage
|
||||||
'Debian': {
|
|
||||||
warning('Vitrage is not yet packaged on Ubuntu systems.')
|
|
||||||
}
|
|
||||||
'RedHat': {
|
|
||||||
include openstack_integration::vitrage
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
fail("Unsupported osfamily (${::osfamily})")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
|
||||||
# Run it twice and test for idempotency
|
# Run it twice and test for idempotency
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
apply_manifest(pp, :catch_changes => true)
|
apply_manifest(pp, :catch_changes => true)
|
||||||
end
|
end
|
||||||
|
|
||||||
if os[:family].casecmp('RedHat') == 0
|
describe port(8999) do
|
||||||
describe port(8999) do
|
it { is_expected.to be_listening }
|
||||||
it { is_expected.to be_listening }
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue