diff --git a/manifests/init.pp b/manifests/init.pp index 4466da20..f2863a82 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -750,6 +750,13 @@ the future release. Please use tempest::package_ensure instead.") tag => ['openstack', 'tempest-package'], } } + if $ec2api_available and $::tempest::params::python_ec2api_tests { + package { 'python-ec2-api-tests': + ensure => present, + name => $::tempest::params::python_ec2api_tests, + tag => ['openstack', 'tempest-package'], + } + } } if $configure_images { diff --git a/manifests/params.pp b/manifests/params.pp index df9a4138..e772260d 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -38,6 +38,7 @@ class tempest::params { $python_congress_tests = 'python-congress-tests' $python_panko_tests = 'python-panko-tests' $python_octavia_tests = 'python-octavia-tests' + $python_ec2api_tests = 'python-ec2-api-tests' $package_name = 'openstack-tempest' } 'Debian': { @@ -74,6 +75,7 @@ class tempest::params { $python_congress_tests = false $python_panko_tests = false $python_octavia_tests = false + $python_ec2api_tests = false $package_name = 'tempest' } default: { diff --git a/releasenotes/notes/ec2api-package-db30bb668b138b03.yaml b/releasenotes/notes/ec2api-package-db30bb668b138b03.yaml new file mode 100644 index 00000000..dfd08886 --- /dev/null +++ b/releasenotes/notes/ec2api-package-db30bb668b138b03.yaml @@ -0,0 +1,3 @@ +--- +features: + - When ec2api is enabled, install the tests packages from RDO.