4bb15efe83
python-octaviaclient is being packaged starting in RHOSP 13, RDO Queens and Fedora 28. Change-Id: Ide01e285bf89e39839f5c6319c2810bad206c114
34 lines
1.2 KiB
Puppet
34 lines
1.2 KiB
Puppet
# Parameters for puppet-octavia
|
|
#
|
|
class octavia::params {
|
|
include ::openstacklib::defaults
|
|
|
|
$api_service_name = 'octavia-api'
|
|
$worker_service_name = 'octavia-worker'
|
|
$health_manager_service_name = 'octavia-health-manager'
|
|
$housekeeping_service_name = 'octavia-housekeeping'
|
|
$group = 'octavia'
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$common_package_name = 'openstack-octavia-common'
|
|
$api_package_name = 'openstack-octavia-api'
|
|
$worker_package_name = 'openstack-octavia-worker'
|
|
$health_manager_package_name = 'openstack-octavia-health-manager'
|
|
$housekeeping_package_name = 'openstack-octavia-housekeeping'
|
|
$client_package_name = 'python-octaviaclient'
|
|
}
|
|
'Debian': {
|
|
$common_package_name = 'octavia-common'
|
|
$api_package_name = 'octavia-api'
|
|
$worker_package_name = 'octavia-worker'
|
|
$health_manager_package_name = 'octavia-health-manager'
|
|
$housekeeping_package_name = 'octavia-housekeeping'
|
|
$client_package_name = 'python-octaviaclient'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
|
}
|
|
|
|
} # Case $::osfamily
|
|
}
|