aboutsummaryrefslogtreecommitdiffstats
path: root/spec/classes
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-27 05:01:07 +0000
committerGerrit Code Review <review@openstack.org>2017-07-27 05:01:07 +0000
commit7ff70f8094a51cae422c77b7f85ebbcba72d43f6 (patch)
treeeae26745d7dc156a06bcf26796b4e6543ef0d108 /spec/classes
parentbf5eaa2fa243b9f3a1e329ea60ad23e12af41f1c (diff)
parentd90abf468cf065057a171fdd8031006eb8536088 (diff)
Merge "Configure redis as incoming storage driver in gnocchi"
Diffstat (limited to 'spec/classes')
-rw-r--r--spec/classes/tripleo_profile_base_gnocchi_api_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/classes/tripleo_profile_base_gnocchi_api_spec.rb b/spec/classes/tripleo_profile_base_gnocchi_api_spec.rb
index 90bdea0..60e82b3 100644
--- a/spec/classes/tripleo_profile_base_gnocchi_api_spec.rb
+++ b/spec/classes/tripleo_profile_base_gnocchi_api_spec.rb
@@ -82,6 +82,9 @@ describe 'tripleo::profile::base::gnocchi::api' do
is_expected.to contain_class('gnocchi::storage').with(
:coordination_url => 'redis://:gnocchi@127.0.0.1:6379/'
)
+ is_expected.to contain_class('gnocchi::storage::incoming::redis').with(
+ :redis_url => 'redis://:gnocchi@127.0.0.1:6379/'
+ )
is_expected.to contain_class('gnocchi::storage::file')
}
end
@@ -100,6 +103,9 @@ describe 'tripleo::profile::base::gnocchi::api' do
is_expected.to contain_class('gnocchi::storage').with(
:coordination_url => 'redis://:gnocchi@127.0.0.1:6379/'
)
+ is_expected.to contain_class('gnocchi::storage::incoming::redis').with(
+ :redis_url => 'redis://:gnocchi@127.0.0.1:6379/'
+ )
is_expected.to contain_class('gnocchi::storage::ceph')
}
end