Files
puppet-tempest/manifests/params.pp
Takashi Kajinami cb05cf72da Prepare for new lint plugins
This fixes a few lint warnings/errors detected by the following plugins
we aim to enable soon.
 - puppet-lint-file_ensure-check
 - puppet-lint-trailing_comma-check
 - puppet-lint-topscope-variable-check

Change-Id: I3a44a056c0edcdb1b5356c165af2f2f98a9c7dcd
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-15 20:43:14 +09:00

73 lines
2.9 KiB
Puppet

#
class tempest::params {
include openstacklib::defaults
$pip_command = 'pip3'
case $facts['os']['family'] {
'RedHat': {
$dev_packages = [
'python3-devel',
'libxslt-devel',
'libxml2-devel',
'openssl-devel',
'libffi-devel',
'gcc',
]
$python_telemetry_tests = 'python3-telemetry-tests-tempest'
$python_cinder_tests = 'python3-cinder-tests-tempest'
$python_designate_tests = 'python3-designate-tests-tempest'
$python_glance_tests = 'python3-glance-tests-tempest'
$python_heat_tests = 'python3-heat-tests-tempest'
$python_ironic_tests = 'python3-ironic-tests-tempest'
$python_keystone_tests = 'python3-keystone-tests-tempest'
$python_magnum_tests = 'python3-magnum-tests-tempest'
$python_mistral_tests = 'python3-mistral-tests-tempest'
$python_vitrage_tests = 'python3-vitrage-tests-tempest'
$python_neutron_tests = 'python3-neutron-tests-tempest'
$python_l2gw_tests = 'python3-networking-l2gw-tests-tempest'
$python_trove_tests = 'python3-trove-tests-tempest'
$python_watcher_tests = 'python3-watcher-tests-tempest'
$python_zaqar_tests = 'python3-zaqar-tests-tempest'
$python_octavia_tests = 'python3-octavia-tests-tempest'
$python_barbican_tests = 'python3-barbican-tests-tempest'
$python_manila_tests = 'python3-manila-tests-tempest'
$python_cloudkitty_tests = 'python3-cloudkitty-tests-tempest'
$package_name = 'openstack-tempest'
}
'Debian': {
$dev_packages = [
'python3-dev',
'libxslt1-dev',
'libxml2-dev',
'libssl-dev',
'libffi-dev',
'gcc',
]
$python_telemetry_tests = 'telemetry-tempest-plugin'
$python_cinder_tests = 'cinder-tempest-plugin'
$python_designate_tests = 'designate-tempest-plugin'
$python_glance_tests = 'glance-tempest-plugin'
$python_heat_tests = 'heat-tempest-plugin'
$python_ironic_tests = 'ironic-tempest-plugin'
$python_keystone_tests = 'keystone-tempest-plugin'
$python_magnum_tests = 'magnum-tempest-plugin'
$python_mistral_tests = 'mistral-tempest-plugin'
$python_vitrage_tests = 'vitrage-tempest-plugin'
$python_neutron_tests = 'neutron-tempest-plugin'
$python_l2gw_tests = undef
$python_trove_tests = 'trove-tempest-plugin'
$python_watcher_tests = 'watcher-tempest-plugin'
$python_zaqar_tests = 'zaqar-tempest-plugin'
$python_octavia_tests = 'octavia-tempest-plugin'
$python_barbican_tests = 'barbican-tempest-plugin'
$python_manila_tests = 'manila-tempest-plugin'
$python_cloudkitty_tests = 'cloudkitty-tempest-plugin'
$package_name = 'tempest'
}
default: {
fail("Unsupported osfamily: ${facts['os']['family']}")
}
}
}