![Emilien Macchi](/assets/img/avatar_default.png)
This patch allows to install Tempest plugin packages provided by RDO. Disabled by default, manage_tests_packages boolean if set to True will install Python packages that are needed when a service is set as available in ::tempest class. Change-Id: Iac9a57c2ba006bb2a660d2b54ee05bbe68125abf
62 lines
2.0 KiB
Puppet
62 lines
2.0 KiB
Puppet
#
|
|
class tempest::params {
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$pip_bin_path = '/usr/bin'
|
|
$dev_packages = [
|
|
'python-devel',
|
|
'libxslt-devel',
|
|
'libxml2-devel',
|
|
'openssl-devel',
|
|
'libffi-devel',
|
|
'patch',
|
|
'gcc',
|
|
]
|
|
$python_aodh_tests = 'python-aodh-tests'
|
|
$python_ceilometer_tests = 'python-ceilometer-tests'
|
|
$python_cinder_tests = 'python-cinder-tests'
|
|
$python_glance_tests = 'python-glance-tests'
|
|
$python_heat_tests = 'python-heat-tests'
|
|
$python_ironic_tests = 'python-ironic-tests'
|
|
$python_keystone_tests = 'python-keystone-tests'
|
|
$python_murano_tests = 'python-murano-tests'
|
|
$python_neutron_tests = 'python-neutron-tests'
|
|
$python_nova_tests = 'python-nova-tests'
|
|
$python_sahara_tests = 'python-sahara-tests'
|
|
$python_swift_tests = 'python-swift-tests'
|
|
$python_trove_tests = 'python-trove-tests'
|
|
$python_zaqar_tests = 'python-zaqar-tests'
|
|
}
|
|
'Debian': {
|
|
$pip_bin_path = '/usr/local/bin'
|
|
$dev_packages = [
|
|
'python-dev',
|
|
'libxslt1-dev',
|
|
'libxml2-dev',
|
|
'libssl-dev',
|
|
'libffi-dev',
|
|
'patch',
|
|
'gcc',
|
|
]
|
|
$python_aodh_tests = false
|
|
$python_ceilometer_tests = false
|
|
$python_cinder_tests = false
|
|
$python_glance_tests = false
|
|
$python_heat_tests = false
|
|
$python_ironic_tests = false
|
|
$python_keystone_tests = false
|
|
$python_murano_tests = false
|
|
$python_neutron_tests = false
|
|
$python_nova_tests = false
|
|
$python_sahara_tests = false
|
|
$python_swift_tests = false
|
|
$python_trove_tests = false
|
|
$python_zaqar_tests = false
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, module ${module_name} only support osfamily RedHat and Debian")
|
|
}
|
|
}
|
|
}
|
|
|