Puppet Class: tempest::params

Defined in:
manifests/params.pp

Overview



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'manifests/params.pp', line 2

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',
        'patch',
        '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'
      $package_name            = 'openstack-tempest'
      $pip_package_name        = $facts['os']['name'] ? {
        'RedHat' => undef,
        default  => 'python3-pip'
      }
    }
    'Debian': {
      $dev_packages = [
        'python3-dev',
        'libxslt1-dev',
        'libxml2-dev',
        'libssl-dev',
        'libffi-dev',
        'patch',
        'gcc',
        'python3-virtualenv',
      ]
      $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'
      $package_name            = 'tempest'
      $pip_package_name        = 'python3-pip'
    }
    default: {
      fail("Unsupported osfamily: ${facts['os']['family']}")
    }
  }
}