Replace platform_family method and use attribute instead

platform_family method is not working on latest Chef versions

Change-Id: I2b908180fc42265146f8b50ecbdb1e002f6d218b
Partial-Bug: #1724987
This commit is contained in:
Sebastien Coavoux 2017-10-25 22:00:26 -04:00 committed by Seb-Solon
parent 60a38b538d
commit a0ad02e396
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ default['openstack']['block-storage']['volume']['block_devices'] = nil
default['openstack']['block-storage']['user'] = 'cinder'
default['openstack']['block-storage']['group'] = 'cinder'
case platform_family
case node['platform_family']
when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
# operating system user and group names
default['openstack']['block-storage']['volume']['iscsi_helper'] = 'lioadm'