| 1 |
require 'spec_helper_acceptance' |
| 2 |
|
| 3 |
describe 'basic cloudkitty' do |
| 4 |
|
| 5 |
context 'default parameters' do |
| 6 |
|
| 7 |
it 'should work with no errors' do |
| 8 |
pp= <<-EOS |
| 9 |
include openstack_integration |
| 10 |
include openstack_integration::repos |
| 11 |
include openstack_integration::apache |
| 12 |
include openstack_integration::rabbitmq |
| 13 |
include openstack_integration::memcached |
| 14 |
include openstack_integration::mysql |
| 15 |
include openstack_integration::redis |
| 16 |
include openstack_integration::keystone |
| 17 |
include openstack_integration::cloudkitty |
| 18 |
EOS |
| 19 |
|
| 20 |
# Run it twice and test for idempotency |
| 21 |
apply_manifest(pp, :catch_failures => true) |
| 22 |
apply_manifest(pp, :catch_changes => true) |
| 23 |
end |
| 24 |
|
| 25 |
describe port(8889) do |
| 26 |
it { is_expected.to be_listening } |
| 27 |
end |
| 28 |
|
| 29 |
end |
| 30 |
|
| 31 |
end |