Files
puppet-gnocchi/spec/classes/gnocchi_storage_spec.rb
Takashi Kajinami f0371cecf2 Use oslo::coordination to manage coordination backend packages
This change replaces current implementation to manage packages for
coordination backend by oslo::coordination resource type, so that we
can gather all logics related to coordination in a single place.

Because Gnocchi is not using a common parameter name, configuration
is still managed by gnocchi class.

Depends-on: https://review.opendev.org/792535
Change-Id: I9998d1351ec656fd2e4c0eee8de16f4c65d1aeb8
2021-08-20 15:14:13 +00:00

22 lines
385 B
Ruby

require 'spec_helper'
describe 'gnocchi::storage' do
shared_examples_for 'gnocchi-storage' do
# Nothong to test
end
on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let (:facts) do
facts.merge!(OSDefaults.get_facts())
end
it_behaves_like 'gnocchi-storage'
end
end
end