Use platform_family instead of platform
This will allow the ibm_powerkvm platform to be recognized and will simplify uses of multiple platforms from the same family. Change-Id: Iebf2aad9f3b4649fb5c27d2fc93ee60c67e42737 Partially-Implements: blueprint add-ibm-powerkvm-enablement Implements: blueprint platform-family
This commit is contained in:
parent
c40722b646
commit
8d2cc01705
|
@ -69,8 +69,8 @@ default['openstack']['orchestration']['rpc_conn_pool_size'] = 30
|
|||
default['openstack']['orchestration']['rpc_response_timeout'] = 60
|
||||
|
||||
# platform-specific settings
|
||||
case platform
|
||||
when 'fedora', 'redhat', 'centos' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||
case platform_family
|
||||
when 'fedora', 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||
default['openstack']['orchestration']['user'] = 'heat'
|
||||
default['openstack']['orchestration']['group'] = 'heat'
|
||||
default['openstack']['orchestration']['platform'] = {
|
||||
|
@ -90,7 +90,7 @@ when 'fedora', 'redhat', 'centos' # :pragma-foodcritic: ~FC024 - won't fix this
|
|||
'heat_api_process_name' => 'heat-api',
|
||||
'package_overrides' => ''
|
||||
}
|
||||
when 'ubuntu'
|
||||
when 'debian'
|
||||
default['openstack']['orchestration']['user'] = 'heat'
|
||||
default['openstack']['orchestration']['group'] = 'heat'
|
||||
default['openstack']['orchestration']['platform'] = {
|
||||
|
|
Loading…
Reference in New Issue