Deploy ec2-api test package from RDO when needed

ec2-api has its own package for tests, so we need to deploy it in order
to run Tempest tests for ec2api.

Change-Id: I7596f9285449b7c7b2571dabb600b7ccae3f33d3
This commit is contained in:
Emilien Macchi 2017-04-03 09:16:14 -04:00
parent cb8d37b0b4
commit ca12cbc292
3 changed files with 12 additions and 0 deletions

View File

@ -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 {

View File

@ -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: {

View File

@ -0,0 +1,3 @@
---
features:
- When ec2api is enabled, install the tests packages from RDO.