diff --git a/manifests/init.pp b/manifests/init.pp index 46e4d5cb..94dd2a7d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -120,6 +120,8 @@ # Defaults to false # [*zaqar_available*] # Defaults to false +# [*mistral_available*] +# Defaults to false # [*run_service_broker_tests*] # Defaults to false # [*sahara_available*] @@ -243,6 +245,7 @@ class tempest( $trove_available = false, $ironic_available = false, $zaqar_available = false, + $mistral_available = false, $keystone_v2 = true, $keystone_v3 = true, $auth_version = 'v2', @@ -493,6 +496,13 @@ class tempest( tag => ['openstack', 'tempest-package'], } } + if $mistral_available and $::tempest::params::python_mistral_tests { + package { 'python-mistral-tests': + ensure => present, + name => $::tempest::params::python_mistral_tests, + tag => ['openstack', 'tempest-package'], + } + } } if $configure_images { diff --git a/manifests/params.pp b/manifests/params.pp index 86926957..3969ce2c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -19,6 +19,7 @@ class tempest::params { $python_heat_tests = 'python-heat-tests' $python_ironic_tests = 'python-ironic-tests' $python_keystone_tests = 'python-keystone-tests' + $python_mistral_tests = 'python-mistral-tests' $python_murano_tests = 'python-murano-tests' $python_neutron_tests = 'python-neutron-tests' $python_fwaas_tests = 'python-neutron-fwaas-tests' @@ -48,6 +49,7 @@ class tempest::params { $python_heat_tests = false $python_ironic_tests = false $python_keystone_tests = false + $python_mistral_tests = false $python_murano_tests = false $python_neutron_tests = false $python_nova_tests = false