puppet-tempest/manifests/params.pp
Emilien Macchi e70aa88930 venv: create venv & run pip in exec
Tempest deleted the venv management scripts [1] so now, puppet-tempest
is able to deploy the venv & run pip by itself.

[1] https://review.openstack.org/#/c/270564/

Closes-Bug: #1570268
Change-Id: Iacfe61a14d69a8738a4cc4e2cfe29f7d54e91941
2016-04-17 14:52:24 -04:00

68 lines
2.3 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_mistral_tests = 'python-mistral-tests'
$python_murano_tests = 'python-murano-tests'
$python_neutron_tests = 'python-neutron-tests'
$python_fwaas_tests = 'python-neutron-fwaas-tests'
$python_lbaas_tests = 'python-neutron-lbaas-tests'
$python_vpnaas_tests = 'python-neutron-vpnaas-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-virtualenv',
]
$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_mistral_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")
}
}
}