Fix common options position in params.pp
These parameters are common for both systems, they could be moved out from 'case'. Change-Id: Ic46e79f8d89210d554db516710b6bc260983188b
This commit is contained in:
parent
ac95aa2d53
commit
6fe2171f31
|
@ -1,28 +1,29 @@
|
|||
# == 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'
|
||||
$client_package_name = 'python-barbicanclient'
|
||||
$barbican_wsgi_script_path = '/var/www/cgi-bin/barbican'
|
||||
$barbican_wsgi_script_source = '/usr/lib/python2.7/site-packages/barbican/api/app.wsgi'
|
||||
$dogtag_client_package = 'pki-base'
|
||||
$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'
|
||||
$client_package_name = 'python-barbicanclient'
|
||||
$barbican_wsgi_script_path = '/usr/lib/cgi-bin/barbican'
|
||||
$barbican_wsgi_script_source = '/usr/lib/python2.7/dist-packages/barbican/api/app.wsgi'
|
||||
$dogtag_client_package = 'pki-base'
|
||||
$httpd_config_file = '/etc/apache2/conf-available/barbican-api.conf'
|
||||
}
|
||||
default: {
|
||||
|
|
Loading…
Reference in New Issue