Files
puppet-gnocchi/spec/acceptance/10_basic_gnocchi_spec.rb
Takashi Kajinami f36eb38cd2 Remove redundant usage of integration_enable
The parameter can be easily replaced by the backend parameter.

Change-Id: I6aa92f859fd07963d4a821fbf5983406a9210054
2023-08-22 10:58:31 +09:00

32 lines
791 B
Ruby

require 'spec_helper_acceptance'
describe 'basic gnocchi' 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::mysql
include openstack_integration::memcached
include openstack_integration::redis
include openstack_integration::keystone
class { 'openstack_integration::gnocchi':
backend => 'file'
}
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe port(8041) do
it { is_expected.to be_listening }
end
end
end