31f0bd4b60
Change-Id: I0a3975def0a408eb1fc49b2ef29ccb7c29c1d6ab
40 lines
1.3 KiB
Puppet
40 lines
1.3 KiB
Puppet
# Parameters for puppet-octavia
|
|
#
|
|
class octavia::params {
|
|
include ::openstacklib::defaults
|
|
|
|
if ($::os_package_type == 'debian') {
|
|
$pyvers = '3'
|
|
} else {
|
|
$pyvers = ''
|
|
}
|
|
|
|
$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${pyvers}-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${pyvers}-octaviaclient"
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
|
}
|
|
|
|
} # Case $::osfamily
|
|
}
|