Replace platform_family method and use attribute instead
platform_family method is not working on latest Chef versions Change-Id: I7e7fb5c51e97f3e4186a5f735f4fd8285934e0f0 Partial-Bug: #1724987
This commit is contained in:
parent
7eb5fd6113
commit
9186e1262f
|
@ -92,7 +92,7 @@ default['openstack']['image']['api']['vmware']['secret_name'] = 'openstack_vmwar
|
|||
default['openstack']['image']['cron']['redirection'] = '> /dev/null 2>&1'
|
||||
|
||||
# platform-specific settings
|
||||
case platform_family
|
||||
case node['platform_family']
|
||||
when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||
default['openstack']['image']['user'] = 'glance'
|
||||
default['openstack']['image']['group'] = 'glance'
|
||||
|
|
Loading…
Reference in New Issue