d14ea2edf3
17736b2fd726858cb83590f8a8b1d594a087ea44 4.0.0 Partial blueprint merge-openstack-puppet-modules Change-Id: Icbe9f8c87ea0b6c0a3287c1c36137302bf293009 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
53 lines
1.6 KiB
Puppet
53 lines
1.6 KiB
Puppet
# Parameters for puppet-heat
|
|
#
|
|
class heat::params {
|
|
|
|
$dbsync_command =
|
|
'heat-manage --config-file /etc/heat/heat.conf db_sync'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
# package names
|
|
$api_package_name = 'openstack-heat-api'
|
|
$api_cloudwatch_package_name = 'openstack-heat-api-cloudwatch'
|
|
$api_cfn_package_name = 'openstack-heat-api-cfn'
|
|
$engine_package_name = 'openstack-heat-engine'
|
|
$client_package_name = 'python-heatclient'
|
|
$common_package_name = 'openstack-heat-common'
|
|
# service names
|
|
$api_service_name = 'openstack-heat-api'
|
|
$api_cloudwatch_service_name = 'openstack-heat-api-cloudwatch'
|
|
$api_cfn_service_name = 'openstack-heat-api-cfn'
|
|
$engine_service_name = 'openstack-heat-engine'
|
|
}
|
|
'Debian': {
|
|
# package names
|
|
$api_package_name = 'heat-api'
|
|
$api_cloudwatch_package_name = 'heat-api-cloudwatch'
|
|
$api_cfn_package_name = 'heat-api-cfn'
|
|
$engine_package_name = 'heat-engine'
|
|
$client_package_name = 'python-heatclient'
|
|
$common_package_name = 'heat-common'
|
|
# service names
|
|
$api_service_name = 'heat-api'
|
|
$api_cloudwatch_service_name = 'heat-api-cloudwatch'
|
|
$api_cfn_service_name = 'heat-api-cfn'
|
|
$engine_service_name = 'heat-engine'
|
|
# Operating system specific
|
|
case $::operatingsystem {
|
|
'Ubuntu': {
|
|
$libvirt_group = 'libvirtd'
|
|
}
|
|
default: {
|
|
$libvirt_group = 'libvirt'
|
|
}
|
|
}
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
|
|
${::operatingsystem}, module ${module_name} only support osfamily \
|
|
RedHat and Debian")
|
|
}
|
|
}
|
|
}
|