Allow to configure compute/build_interval

Allow to configure build_interval in [compute] section.

Change-Id: Ic410cb66e7620b6ca6acbea38360d8dd890000c9
This commit is contained in:
Emilien Macchi 2016-02-22 20:55:16 -05:00
parent af6ea67d88
commit 2d564f1ff7
2 changed files with 5 additions and 0 deletions
manifests
spec/classes

@ -141,6 +141,8 @@
# Defaults to undef
# [*dashboard_url*]
# Defaults to undef
# [*compute_build_interval*]
# Defaults to undef
#
class tempest(
$install_from_source = true,
@ -204,6 +206,7 @@ class tempest(
$image_alt_ssh_user = undef,
$flavor_ref = undef,
$flavor_ref_alt = undef,
$compute_build_interval = undef,
# whitebox
$whitebox_db_uri = undef,
# testing features that are supported
@ -309,6 +312,7 @@ class tempest(
'compute/image_ssh_user': value => $image_ssh_user;
'compute/resize_available': value => $resize_available;
'compute/allow_tenant_isolation': value => $allow_tenant_isolation;
'compute/build_interval': value => $compute_build_interval;
'identity/admin_password': value => $admin_password, secret => true;
'identity/admin_tenant_name': value => $admin_tenant_name;
'identity/admin_username': value => $admin_username;

@ -158,6 +158,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('compute/image_ssh_user').with(:value => nil)
is_expected.to contain_tempest_config('compute/resize_available').with(:value => nil)
is_expected.to contain_tempest_config('compute/allow_tenant_isolation').with(:value => nil)
is_expected.to contain_tempest_config('compute/build_interval').with(:value => nil)
is_expected.to contain_tempest_config('identity/admin_password').with(:value => nil)
is_expected.to contain_tempest_config('identity/admin_domain_name').with(:value => nil)
is_expected.to contain_tempest_config('identity/admin_password').with_secret( true )