puppet-trove/spec/acceptance/basic_trove_spec.rb
Tobias Urdin a053d4e86e Convert all class usage to relative names
Change-Id: Ic7b8f4e584e3f1ed1d5c6c568cc6caf67493cdda
2019-12-08 23:24:12 +01:00

29 lines
674 B
Ruby

require 'spec_helper_acceptance'
describe 'basic trove' do
context 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
include openstack_integration
include openstack_integration::repos
include openstack_integration::rabbitmq
include openstack_integration::mysql
include openstack_integration::keystone
include openstack_integration::trove
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe port(8779) do
it { is_expected.to be_listening.with('tcp') }
end
end
end