X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fclasses%2Fcinder_volume_nexenta_spec.rb;fp=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fclasses%2Fcinder_volume_nexenta_spec.rb;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=258400fae428b426e36dbf9393cbf45aff81c280;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/cinder/spec/classes/cinder_volume_nexenta_spec.rb b/3rdparty/modules/cinder/spec/classes/cinder_volume_nexenta_spec.rb deleted file mode 100644 index 258400fae..000000000 --- a/3rdparty/modules/cinder/spec/classes/cinder_volume_nexenta_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# author 'Aimon Bustardo ' -# license 'Apache License 2.0' -# description 'configures openstack cinder nexenta driver' -require 'spec_helper' - -describe 'cinder::volume::nexenta' do - - let :params do - { :nexenta_user => 'nexenta', - :nexenta_password => 'password', - :nexenta_host => '127.0.0.2' } - end - - let :default_params do - { :nexenta_volume => 'cinder', - :nexenta_target_prefix => 'iqn:', - :nexenta_target_group_prefix => 'cinder/', - :nexenta_blocksize => '8k', - :nexenta_sparse => true } - end - - let :facts do - { :osfamily => 'Debian' } - end - - - context 'with required params' do - let :params_hash do - default_params.merge(params) - end - - it 'configures nexenta volume driver' do - params_hash.each_pair do |config, value| - should contain_cinder_config("DEFAULT/#{config}").with_value(value) - end - end - - it 'marks nexenta_password as secret' do - should contain_cinder_config('DEFAULT/nexenta_password').with_secret( true ) - end - - end -end