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:
parent
60a38b538d
commit
a0ad02e396
|
@ -71,7 +71,7 @@ default['openstack']['block-storage']['volume']['block_devices'] = nil
|
||||||
default['openstack']['block-storage']['user'] = 'cinder'
|
default['openstack']['block-storage']['user'] = 'cinder'
|
||||||
default['openstack']['block-storage']['group'] = 'cinder'
|
default['openstack']['block-storage']['group'] = 'cinder'
|
||||||
|
|
||||||
case platform_family
|
case node['platform_family']
|
||||||
when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||||
# operating system user and group names
|
# operating system user and group names
|
||||||
default['openstack']['block-storage']['volume']['iscsi_helper'] = 'lioadm'
|
default['openstack']['block-storage']['volume']['iscsi_helper'] = 'lioadm'
|
||||||
|
|
Loading…
Reference in New Issue