diff options
author | Pradeep Kilambi <pkilambi@redhat.com> | 2017-07-19 18:39:29 -0400 |
---|---|---|
committer | Pradeep Kilambi <pkilambi@redhat.com> | 2017-07-24 20:09:59 +0000 |
commit | d90abf468cf065057a171fdd8031006eb8536088 (patch) | |
tree | 1db876ada05b9fde924961e62d642d3c7712bcd6 /spec | |
parent | 1fd05b4a04cfc2e24b7551861c1ece483506102a (diff) |
Configure redis as incoming storage driver in gnocchi
puppet support for this is added in Id8d4d091da2611de75390e045ebd473caf2a8909
Change-Id: I3354b54571a1b9d0a9187698217628d273cd7d7e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/classes/tripleo_profile_base_gnocchi_api_spec.rb | 6 |
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 |