X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_san_spec.rb;fp=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fdefines%2Fcinder_backend_san_spec.rb;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=ef647de297bdf43d886a47f4fabbd1ca92da965a;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/cinder/spec/defines/cinder_backend_san_spec.rb b/3rdparty/modules/cinder/spec/defines/cinder_backend_san_spec.rb deleted file mode 100644 index ef647de29..000000000 --- a/3rdparty/modules/cinder/spec/defines/cinder_backend_san_spec.rb +++ /dev/null @@ -1,40 +0,0 @@ -require 'spec_helper' - -describe 'cinder::backend::san' do - let (:title) { 'mysan' } - - let :params do - { :volume_driver => 'cinder.volume.san.SolarisISCSIDriver', - :san_ip => '127.0.0.1', - :san_login => 'cluster_operator', - :san_password => '007', - :san_clustername => 'storage_cluster' } - end - - let :default_params do - { :san_thin_provision => true, - :san_login => 'admin', - :san_ssh_port => 22, - :san_is_local => false, - :ssh_conn_timeout => 30, - :ssh_min_pool_conn => 1, - :ssh_max_pool_conn => 5 } - end - - shared_examples_for 'a san volume driver' do - let :params_hash do - default_params.merge(params) - end - - it 'configures cinder volume driver' do - params_hash.each_pair do |config,value| - should contain_cinder_config("mysan/#{config}").with_value( value ) - end - end - end - - - context 'with parameters' do - it_configures 'a san volume driver' - end -end