
This change updates the test that currently do Debian/RedHat sets of tests to use on_supported_os from rspec-puppet-facts. This improves the over all coverage with the specific CentOS, Debian, RedHat and Ubuntu flavors of facts. Change-Id: Ic7b12cd8972bbde0574806acb2d680f14f1c267f
22 lines
364 B
Ruby
22 lines
364 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'cinder::volume::gpfs' do
|
|
|
|
let :params do
|
|
{
|
|
:gpfs_mount_point_base => '/opt/gpfs/cinder/volumes',
|
|
}
|
|
end
|
|
|
|
let :facts do
|
|
OSDefaults.get_facts({})
|
|
end
|
|
context 'gpfs volume driver' do
|
|
|
|
it 'checks gpfs backend availability' do
|
|
is_expected.to contain_cinder__backend__gpfs('DEFAULT')
|
|
end
|
|
end
|
|
|
|
end
|