X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fclasses%2Fcinder_db_mysql_spec.rb;fp=3rdparty%2Fmodules%2Fcinder%2Fspec%2Fclasses%2Fcinder_db_mysql_spec.rb;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=3d85cdddbb783a9a186412ead66cc06df5d13146;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/cinder/spec/classes/cinder_db_mysql_spec.rb b/3rdparty/modules/cinder/spec/classes/cinder_db_mysql_spec.rb deleted file mode 100644 index 3d85cdddb..000000000 --- a/3rdparty/modules/cinder/spec/classes/cinder_db_mysql_spec.rb +++ /dev/null @@ -1,58 +0,0 @@ -require 'spec_helper' - -describe 'cinder::db::mysql' do - - let :req_params do - {:password => 'pw', - } - end - - let :facts do - {:osfamily => 'Debian'} - end - - let :pre_condition do - 'include mysql::server' - end - - describe 'with only required params' do - let :params do - req_params - end - it { should contain_openstacklib__db__mysql('cinder').with( - :user => 'cinder', - :password_hash => '*D821809F681A40A6E379B50D0463EFAE20BDD122', - :host => '127.0.0.1', - :charset => 'utf8', - :collate => 'utf8_general_ci', - ) } - end - describe "overriding allowed_hosts param to array" do - let :params do - { - :password => 'cinderpass', - :allowed_hosts => ['127.0.0.1','%'] - } - end - - end - describe "overriding allowed_hosts param to string" do - let :params do - { - :password => 'cinderpass2', - :allowed_hosts => '192.168.1.1' - } - end - - end - - describe "overriding allowed_hosts param equals to host param " do - let :params do - { - :password => 'cinderpass2', - :allowed_hosts => '127.0.0.1' - } - end - - end -end