puppet-aodh/spec/acceptance/aodh_wsgi_apache_spec.rb
Takashi Kajinami 631b4f4d4f Use common class to manage apache service in beaker job
Depends-on: https://review.opendev.org/#/c/745246/
Change-Id: I0e2097f3e5cd90ac9ae88b001ea91f275fed833b
2020-08-07 09:15:37 +09:00

30 lines
704 B
Ruby

require 'spec_helper_acceptance'
describe 'basic aodh' 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
include openstack_integration::aodh
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe port(8042) do
it { is_expected.to be_listening }
end
end
end