230fe3cef4
The default values of cfapi_service_name and cfapi_service_name on RHEL are wrong. This patch aims to setup the right values for them. Change-Id: Icc87286496e2d814fe8987647a7d4cf41b754c32 Closes-Bug: #1645672
46 lines
1.6 KiB
Puppet
46 lines
1.6 KiB
Puppet
# == Class: murano::params
|
|
#
|
|
# Parameters for puppet-murano
|
|
#
|
|
class murano::params {
|
|
include ::openstacklib::defaults
|
|
|
|
$dbmanage_command = 'murano-db-manage --config-file /etc/murano/murano.conf upgrade'
|
|
$default_external_network = 'public'
|
|
# service names
|
|
$api_service_name = 'murano-api'
|
|
$engine_service_name = 'murano-engine'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
# package names
|
|
$api_package_name = 'openstack-murano-api'
|
|
$cfapi_package_name = 'openstack-murano-cf-api'
|
|
$common_package_name = 'openstack-murano-common'
|
|
$engine_package_name = 'openstack-murano-engine'
|
|
$pythonclient_package_name = 'python-muranoclient'
|
|
$dashboard_package_name = 'openstack-murano-dashboard'
|
|
# service names
|
|
$cfapi_service_name = 'murano-cf-api'
|
|
# dashboard config file
|
|
$local_settings_path = '/etc/openstack-dashboard/local_settings'
|
|
}
|
|
'Debian': {
|
|
# package names
|
|
$api_package_name = 'murano-api'
|
|
$cfapi_package_name = 'murano-cfapi'
|
|
$common_package_name = 'murano-common'
|
|
$engine_package_name = 'murano-engine'
|
|
$pythonclient_package_name = 'python-muranoclient'
|
|
$dashboard_package_name = 'python-murano-dashboard'
|
|
# service names
|
|
$cfapi_service_name = 'murano-cfapi'
|
|
# dashboard config file
|
|
$local_settings_path = '/etc/openstack-dashboard/local_settings.py'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}")
|
|
}
|
|
}
|
|
}
|