X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_nfs_spec.rb;fp=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_nfs_spec.rb;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=bc7906f6dbfdf1fa10ead4b9c3d17ca3f4333891;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/cinder/spec/defines/cinder_backend_nfs_spec.rb b/3rdparty/modules/cinder/spec/defines/cinder_backend_nfs_spec.rb deleted file mode 100644 index bc7906f6d..000000000 --- a/3rdparty/modules/cinder/spec/defines/cinder_backend_nfs_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -require 'spec_helper' - -describe 'cinder::backend::nfs' do - - let(:title) {'hippo'} - - let :params do - { - :nfs_servers => ['10.10.10.10:/shares', '10.10.10.10:/shares2'], - :nfs_mount_options => 'vers=3', - :nfs_shares_config => '/etc/cinder/other_shares.conf', - :nfs_disk_util => 'du', - :nfs_sparsed_volumes => true, - :nfs_mount_point_base => '/cinder_mount_point', - :nfs_used_ratio => '0.7', - :nfs_oversub_ratio => '0.9' - } - end - - describe 'nfs volume driver' do - - it 'configures nfs volume driver' do - should contain_cinder_config('hippo/volume_backend_name').with( - :value => 'hippo') - should contain_cinder_config('hippo/volume_driver').with_value( - 'cinder.volume.drivers.nfs.NfsDriver') - should contain_cinder_config('hippo/nfs_shares_config').with_value( - '/etc/cinder/other_shares.conf') - should contain_cinder_config('hippo/nfs_mount_options').with_value( - 'vers=3') - should contain_cinder_config('hippo/nfs_sparsed_volumes').with_value( - true) - should contain_cinder_config('hippo/nfs_mount_point_base').with_value( - '/cinder_mount_point') - should contain_cinder_config('hippo/nfs_disk_util').with_value( - 'du') - should contain_cinder_config('hippo/nfs_used_ratio').with_value( - '0.7') - should contain_cinder_config('hippo/nfs_oversub_ratio').with_value( - '0.9') - should contain_file('/etc/cinder/other_shares.conf').with( - :content => "10.10.10.10:/shares\n10.10.10.10:/shares2", - :require => 'Package[cinder]', - :notify => 'Service[cinder-volume]' - ) - end - end -end