Replace platform_family method and use attribute instead
platform_family method is not working on latest Chef versions Change-Id: I65f1c8a6daffada15406c55a48643fe134794aa7 Partial-Bug: #1724987
This commit is contained in:
parent
cbe2ef6647
commit
638c651975
|
@ -25,7 +25,7 @@ default['openstack']['compute']['identity_service_chef_role'] = 'os-identity'
|
|||
# Disallow non-encrypted connections
|
||||
default['openstack']['compute']['service_role'] = 'admin'
|
||||
|
||||
case platform_family
|
||||
case node['platform_family']
|
||||
when 'rhel', 'debian'
|
||||
default['openstack']['compute']['user'] = 'nova'
|
||||
default['openstack']['compute']['group'] = 'nova'
|
||||
|
@ -135,7 +135,7 @@ default['openstack']['placement']['ssl']['protocol'] = ''
|
|||
default['openstack']['placement']['ssl']['ciphers'] = ''
|
||||
|
||||
# Platform specific settings
|
||||
case platform_family
|
||||
case node['platform_family']
|
||||
when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||
default['openstack']['compute']['platform'] = {
|
||||
'api_os_compute_packages' => ['openstack-nova-api'],
|
||||
|
|
Loading…
Reference in New Issue