fuel-library/tests/noop/spec/hosts/astute/enable_cinder_spec.rb
Dmitry Ilyin 4c39102720 Improve Noop tests
* Many fixes and improvements

Related blueprint: deployment-dryrun

Change-Id: I7cdb4ea455866480a773b803f4dddd66f0fd56d1
Fuel-CI: disable
2015-04-21 17:08:22 +03:00

22 lines
506 B
Ruby

require 'spec_helper'
require 'shared-examples'
manifest = 'astute/enable_cinder.pp'
describe manifest do
shared_examples 'catalog' do
it "should contain cinder-volume service" do
case facts[:operatingsystem]
when 'Ubuntu'
service_name = 'cinder-volume'
when 'CentOS'
service_name = 'openstack-cinder-volume'
else
service_name = 'cinder-volume'
end
should contain_service(service_name)
end
end
test_ubuntu_and_centos manifest
end