8bdc2aca9c
VMware not supported since Fuel 10. So this commit removes vmware-related manifests. Implements: blueprint remove-vmware Change-Id: If5f0c837fe843f9cfd30648fe6e115267467982b
37 lines
744 B
Ruby
37 lines
744 B
Ruby
# ROLE: virt
|
|
# ROLE: primary-mongo
|
|
# ROLE: primary-controller
|
|
# ROLE: mongo
|
|
# ROLE: ironic
|
|
# ROLE: controller
|
|
# ROLE: compute
|
|
# ROLE: cinder-block-device
|
|
# ROLE: cinder
|
|
# ROLE: ceph-osd
|
|
# ROLE: base-os
|
|
require 'spec_helper'
|
|
require 'shared-examples'
|
|
manifest = 'cgroups/cgroups.pp'
|
|
|
|
describe manifest do
|
|
shared_examples 'catalog' do
|
|
|
|
cgroups_config = Noop.hiera_hash 'cgroups', {}
|
|
|
|
cgroups_settings = Noop.puppet_function(
|
|
'prepare_cgroups_hash',
|
|
cgroups_config
|
|
)
|
|
|
|
unless cgroups_settings.empty?
|
|
it 'should declare cgroups class correctly' do
|
|
should contain_class('cgroups').with(
|
|
'cgroups_set' => cgroups_settings,
|
|
)
|
|
end
|
|
end
|
|
|
|
end
|
|
test_ubuntu_and_centos manifest
|
|
end
|