Separate api and registry packages for Red Hat
Starting in Kilo, Red Hat-based platforms are using separate glance-api and glance-registry packages (for an example, see http://trunk.rdoproject.org/f21/current/). Change-Id: I3ad476846d7dec3ca612e5b0d20b21b8577f4af0
This commit is contained in:
@@ -427,8 +427,6 @@ describe 'glance::api' do
|
||||
end
|
||||
let(:params) { default_params }
|
||||
|
||||
# We only test this on Debian platforms, since on RedHat there isn't a
|
||||
# separate package for glance API.
|
||||
['present', 'latest'].each do |package_ensure|
|
||||
context "with package_ensure '#{package_ensure}'" do
|
||||
let(:params) { default_params.merge({ :package_ensure => package_ensure }) }
|
||||
@@ -446,9 +444,15 @@ describe 'glance::api' do
|
||||
end
|
||||
let(:params) { default_params }
|
||||
|
||||
it { is_expected.to contain_package('openstack-glance').with(
|
||||
:tag => ['openstack'],
|
||||
)}
|
||||
['present', 'latest'].each do |package_ensure|
|
||||
context "with package_ensure '#{package_ensure}'" do
|
||||
let(:params) { default_params.merge({ :package_ensure => package_ensure }) }
|
||||
it { is_expected.to contain_package('openstack-glance-api').with(
|
||||
:ensure => package_ensure,
|
||||
:tag => ['openstack']
|
||||
)}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe 'on unknown platforms' do
|
||||
|
||||
Reference in New Issue
Block a user