X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_quobyte_spec.rb;fp=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_quobyte_spec.rb;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=a3499f2bcf4212bc6b01dba05597beda244d680c;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/cinder/spec/defines/cinder_backend_quobyte_spec.rb b/3rdparty/modules/cinder/spec/defines/cinder_backend_quobyte_spec.rb deleted file mode 100644 index a3499f2bc..000000000 --- a/3rdparty/modules/cinder/spec/defines/cinder_backend_quobyte_spec.rb +++ /dev/null @@ -1,45 +0,0 @@ -require 'spec_helper' - -describe 'cinder::backend::quobyte' do - - shared_examples_for 'quobyte volume driver' do - let(:title) {'myquobyte'} - - let :params do - { - :quobyte_volume_url => 'quobyte://quobyte.cluster.example.com/volume-name', - :quobyte_qcow2_volumes => false, - :quobyte_sparsed_volumes => true, - } - end - - it 'configures quobyte volume driver' do - should contain_cinder_config('myquobyte/volume_driver').with_value( - 'cinder.volume.drivers.quobyte.QuobyteDriver') - should contain_cinder_config('myquobyte/quobyte_volume_url').with_value( - 'quobyte://quobyte.cluster.example.com/volume-name') - should contain_cinder_config('myquobyte/quobyte_qcow2_volumes').with_value( - false) - should contain_cinder_config('myquobyte/quobyte_sparsed_volumes').with_value( - true) - end - - end - - context 'on Debian platforms' do - let :facts do - { :osfamily => 'Debian' } - end - - it_configures 'quobyte volume driver' - end - - context 'on RedHat platforms' do - let :facts do - { :osfamily => 'RedHat' } - end - - it_configures 'quobyte volume driver' - end - -end