Allow to enable Trove tests

Allow to enable Trove tests in Tempest configuration.

Change-Id: Ie3f14cd3504ad60b82fd607c8589cdf4481a1fd1
This commit is contained in:
Emilien Macchi 2015-09-30 10:02:55 -04:00
parent cf51820bec
commit cdb255b14c
2 changed files with 5 additions and 0 deletions
manifests
spec/classes

@ -113,6 +113,8 @@
# Defaults to false
# [*swift_available*]
# Defaults to false
# [*trove_available*]
# Defaults to false
# [*keystone_v2*]
# Defaults to true
# [*keystone_v3*]
@ -209,6 +211,7 @@ class tempest(
$nova_available = true,
$sahara_available = false,
$swift_available = false,
$trove_available = false,
$keystone_v2 = true,
$keystone_v3 = true,
$auth_version = 'v2',
@ -317,6 +320,7 @@ class tempest(
'service_available/nova': value => $nova_available;
'service_available/sahara': value => $sahara_available;
'service_available/swift': value => $swift_available;
'service_available/trove': value => $trove_available;
'whitebox/db_uri': value => $whitebox_db_uri;
'cli/cli_dir': value => $cli_dir;
'oslo_concurrency/lock_path': value => $lock_path;

@ -190,6 +190,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('service_available/nova').with(:value => true)
is_expected.to contain_tempest_config('service_available/sahara').with(:value => false)
is_expected.to contain_tempest_config('service_available/swift').with(:value => false)
is_expected.to contain_tempest_config('service_available/trove').with(:value => false)
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
is_expected.to contain_tempest_config('oslo_concurrency/lock_path').with(:value => '/var/lib/tempest')