puppet-trove/manifests/params.pp
Thomas Goirand 4d2d6bfe8e Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: Iebaeb757d2b989f8307a47f57d7aff6071527836
2021-06-14 09:38:24 +02:00

41 lines
1.4 KiB
Puppet

# == Class: trove::params
#
# Parameters for puppet-trove
#
class trove::params {
include openstacklib::defaults
$client_package_name = 'python3-troveclient'
$group = 'trove'
case $::osfamily {
'RedHat': {
$common_package_name = 'openstack-trove'
$conductor_package_name = 'openstack-trove-conductor'
$conductor_service_name = 'openstack-trove-conductor'
$api_package_name = 'openstack-trove-api'
$api_service_name = 'openstack-trove-api'
$guestagent_package_name = 'openstack-trove-guestagent'
$guestagent_service_name = 'openstack-trove-guestagent'
$taskmanager_package_name = 'openstack-trove-taskmanager'
$taskmanager_service_name = 'openstack-trove-taskmanager'
}
'Debian': {
$common_package_name = 'trove-common'
$conductor_package_name = 'trove-conductor'
$conductor_service_name = 'trove-conductor'
$api_package_name = 'trove-api'
$api_service_name = 'trove-api'
$guestagent_package_name = 'trove-guestagent'
$guestagent_service_name = 'trove-guestagent'
$taskmanager_package_name = 'trove-taskmanager'
$taskmanager_service_name = 'trove-taskmanager'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
module ${module_name} only support osfamily RedHat and Debian")
}
} # Case $::osfamily
}