Files
puppet-barbican/manifests/params.pp
T
ZhongShengping 6fe2171f31 Fix common options position in params.pp
These parameters are common for both systems,
they could be moved out from 'case'.

Change-Id: Ic46e79f8d89210d554db516710b6bc260983188b
2016-11-08 09:32:06 +08:00

35 lines
1.3 KiB
Puppet

# == Class: barbican::params
#
# Parameters for puppet-barbican
#
class barbican::params {
include ::openstacklib::defaults
$client_package_name = 'python-barbicanclient'
$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/lib/python2.7/site-packages/barbican/api/app.wsgi'
$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/lib/python2.7/dist-packages/barbican/api/app.wsgi'
$httpd_config_file = '/etc/apache2/conf-available/barbican-api.conf'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operating system")
}
} # Case $::osfamily
}