diff --git a/manifests/init.pp b/manifests/init.pp index 66443057..d220a4e7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -58,6 +58,8 @@ # Defaults to false # [*logging_context_format_string*] # Defaults to $facts['os_service_default'] +# [*http_timeout*] +# Defaults to $facts['os_service_default'] # [*username*] # Defaults to undef # [*password*] @@ -334,6 +336,7 @@ class tempest( $use_stderr = true, $use_syslog = false, $logging_context_format_string = $facts['os_service_default'], + $http_timeout = $facts['os_service_default'], $attach_encrypted_volume = false, # non admin user $username = undef, @@ -572,6 +575,7 @@ class tempest( tempest_config { + 'service-clients/http_timeout': value => $http_timeout; 'auth/admin_domain_name': value => $admin_domain_name; 'auth/admin_project_domain_name': value => $admin_project_domain_name; 'auth/admin_user_domain_name': value => $admin_user_domain_name; diff --git a/releasenotes/notes/http_timeout-a0d7c667102fa106.yaml b/releasenotes/notes/http_timeout-a0d7c667102fa106.yaml new file mode 100644 index 00000000..71491210 --- /dev/null +++ b/releasenotes/notes/http_timeout-a0d7c667102fa106.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + The new ``tempest::http_timeout`` parameter has been added. diff --git a/spec/classes/tempest_init_spec.rb b/spec/classes/tempest_init_spec.rb index d1b64404..e9d8599b 100644 --- a/spec/classes/tempest_init_spec.rb +++ b/spec/classes/tempest_init_spec.rb @@ -198,6 +198,7 @@ describe 'tempest' do it { should contain_class('openstacklib::openstackclient') } it 'configure tempest config' do + is_expected.to contain_tempest_config('service-clients/http_timeout').with(:value => '') is_expected.to contain_tempest_config('auth/admin_domain_name').with(:value => '') is_expected.to contain_tempest_config('auth/admin_project_domain_name').with(:value => '') is_expected.to contain_tempest_config('auth/admin_user_domain_name').with(:value => '')