0008bc5f89
This commit switches using of oslo options to a puppet-oslo module: * oslo messaging notifications; * oslo messaging rabbitmq; * oslo log; * oslo db; * oslo policy; Change-Id: I63754d63f00c01737031b2fc713563681c269a60
32 lines
991 B
Puppet
32 lines
991 B
Puppet
# == Class: sahara::params
|
|
#
|
|
# Parameters for puppet-sahara
|
|
#
|
|
class sahara::params {
|
|
$client_package_name = 'python-saharaclient'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$common_package_name = 'openstack-sahara-common'
|
|
$all_package_name = 'openstack-sahara'
|
|
$api_package_name = 'openstack-sahara-api'
|
|
$engine_package_name = 'openstack-sahara-engine'
|
|
$all_service_name = 'openstack-sahara-all'
|
|
$api_service_name = 'openstack-sahara-api'
|
|
$engine_service_name = 'openstack-sahara-engine'
|
|
}
|
|
'Debian': {
|
|
$common_package_name = 'sahara-common'
|
|
$all_package_name = 'sahara'
|
|
$api_package_name = 'sahara-api'
|
|
$engine_package_name = 'sahara-engine'
|
|
$all_service_name = 'sahara'
|
|
$api_service_name = 'sahara-api'
|
|
$engine_service_name = 'sahara-engine'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}")
|
|
}
|
|
}
|
|
}
|