c0518d8082
Since pbr 1.4.0, wsgi_scripts entrypoing is supported and it will generated a wsgi compatible binary file. Not yet supported on Debian systems. Change-Id: Ie9b0fe1b7923dbf68db665982eb6003c83c0b4a8
56 lines
2.0 KiB
Puppet
56 lines
2.0 KiB
Puppet
# Parameters for puppet-aodh
|
|
#
|
|
class aodh::params {
|
|
include ::openstacklib::defaults
|
|
|
|
$client_package_name = 'python-aodhclient'
|
|
$group = 'aodh'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$common_package_name = 'openstack-aodh-common'
|
|
$api_package_name = 'openstack-aodh-api'
|
|
$api_service_name = 'openstack-aodh-api'
|
|
$notifier_package_name = 'openstack-aodh-notifier'
|
|
$notifier_service_name = 'openstack-aodh-notifier'
|
|
$evaluator_package_name = 'openstack-aodh-evaluator'
|
|
$evaluator_service_name = 'openstack-aodh-evaluator'
|
|
$expirer_package_name = 'openstack-aodh-expirer'
|
|
|
|
# Deprecated in N, replaced with expirer_service_name
|
|
$expirer_package_serice = 'openstack-aodh-expirer'
|
|
|
|
$expirer_service_name = 'openstack-aodh-expirer'
|
|
$listener_package_name = 'openstack-aodh-listener'
|
|
$listener_service_name = 'openstack-aodh-listener'
|
|
$aodh_wsgi_script_path = '/var/www/cgi-bin/aodh'
|
|
$aodh_wsgi_script_source = '/usr/bin/aodh-api'
|
|
$redis_package_name = 'python-redis'
|
|
}
|
|
'Debian': {
|
|
$common_package_name = 'aodh-common'
|
|
$api_package_name = 'aodh-api'
|
|
$api_service_name = 'aodh-api'
|
|
$notifier_package_name = 'aodh-notifier'
|
|
$notifier_service_name = 'aodh-notifier'
|
|
$evaluator_package_name = 'aodh-evaluator'
|
|
$evaluator_service_name = 'aodh-evaluator'
|
|
$expirer_package_name = 'aodh-expirer'
|
|
|
|
# Deprecated in N, replaced with expirer_service_name
|
|
$expirer_package_serice = 'aodh-expirer'
|
|
|
|
$expirer_service_name = 'aodh-expirer'
|
|
$listener_package_name = 'aodh-listener'
|
|
$listener_service_name = 'aodh-listener'
|
|
$aodh_wsgi_script_path = '/usr/lib/cgi-bin/aodh'
|
|
$aodh_wsgi_script_source = '/usr/share/aodh/app.wsgi'
|
|
$redis_package_name = 'python-redis'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
|
}
|
|
|
|
} # Case $::osfamily
|
|
}
|