puppet-barbican/manifests/params.pp
ZhongShengping f6298b468b Use the pbr generated wsgi binary file located in binary folder
Since pbr 1.4.0, wsgi_scripts entrypoing is supported and it will
generated a wsgi compatible binary file.

Change-Id: Icd23a34d98c19aa495c70015c911daad9a863af8
2018-03-26 15:37:53 +08:00

36 lines
1.3 KiB
Puppet

# == Class: barbican::params
#
# Parameters for puppet-barbican
#
class barbican::params {
include ::openstacklib::defaults
$client_package_name = 'python-barbicanclient'
$group = 'barbican'
$dogtag_client_package = 'pki-base'
case $::osfamily {
'RedHat': {
$api_package_name = 'openstack-barbican-api'
$api_service_name = 'openstack-barbican-api'
$worker_package_name = 'openstack-barbican-worker'
$worker_service_name = 'openstack-barbican-worker'
$barbican_wsgi_script_path = '/var/www/cgi-bin/barbican'
$barbican_wsgi_script_source = '/usr/bin/barbican-wsgi-api'
$httpd_config_file = '/etc/httpd/conf.d/barbican-api.conf'
}
'Debian': {
$api_package_name = 'barbican-api'
$worker_package_name = 'barbican-worker'
$worker_service_name = 'barbican-worker'
$barbican_wsgi_script_path = '/usr/lib/cgi-bin/barbican'
$barbican_wsgi_script_source = '/usr/bin/barbican-wsgi-api'
$httpd_config_file = '/etc/apache2/conf-available/barbican-api.conf'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operating system")
}
} # Case $::osfamily
}