Merge "Remove unit tests for CentOS6/7"
This commit is contained in:
commit
696d4ae35c
|
@ -265,12 +265,6 @@ describe 'nova::compute::libvirt' do
|
|||
|
||||
|
||||
shared_examples 'redhat-nova-compute-libvirt' do
|
||||
before do
|
||||
facts.merge!({ :operatingsystem => 'RedHat', :osfamily => 'RedHat',
|
||||
:operatingsystemrelease => 6.5,
|
||||
:operatingsystemmajrelease => '6' })
|
||||
end
|
||||
|
||||
describe 'with default parameters' do
|
||||
|
||||
it { is_expected.to contain_class('nova::params')}
|
||||
|
@ -299,21 +293,6 @@ describe 'nova::compute::libvirt' do
|
|||
:name => 'dbus'
|
||||
) }
|
||||
|
||||
describe 'on rhel 7' do
|
||||
before do
|
||||
facts.merge!({
|
||||
:operatingsystemrelease => 7.0,
|
||||
:operatingsystemmajrelease => '7'
|
||||
})
|
||||
end
|
||||
|
||||
it { is_expected.to contain_service('libvirt')}
|
||||
|
||||
it { is_expected.to contain_service('messagebus').with(
|
||||
:name => 'dbus'
|
||||
)}
|
||||
end
|
||||
|
||||
it { is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('libvirt.LibvirtDriver')}
|
||||
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('kvm')}
|
||||
it { is_expected.to contain_nova_config('libvirt/inject_password').with_value(false)}
|
||||
|
|
Loading…
Reference in New Issue