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:
Seb-Solon 2017-10-26 12:42:07 -04:00
parent 7eb5fd6113
commit 9186e1262f
1 changed files with 1 additions and 1 deletions

View File

@ -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'