puppet-ceilometer/spec/acceptance/ceilometer_wsgi_apache_spec.rb
Takashi Kajinami b7551d7104 Use common class to manage apache service in beaker job
Depends-on: https://review.opendev.org/#/c/745246/
Change-Id: I378399a8bd0c9e9d5518e125cd435db403649e45
2020-08-27 19:29:54 +09:00

28 lines
692 B
Ruby

require 'spec_helper_acceptance'
describe 'ceilometer with mysql' do
context 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
include openstack_integration
include openstack_integration::repos
include openstack_integration::apache
include openstack_integration::rabbitmq
include openstack_integration::mysql
include openstack_integration::keystone
class { 'openstack_integration::ceilometer':
integration_enable => false,
}
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
end
end