4c39102720
* Many fixes and improvements Related blueprint: deployment-dryrun Change-Id: I7cdb4ea455866480a773b803f4dddd66f0fd56d1 Fuel-CI: disable
22 lines
506 B
Ruby
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
|