From a0ad02e3966440c525eefc632ccc11b840ac2140 Mon Sep 17 00:00:00 2001 From: Sebastien Coavoux Date: Wed, 25 Oct 2017 22:00:26 -0400 Subject: [PATCH] Replace platform_family method and use attribute instead platform_family method is not working on latest Chef versions Change-Id: I2b908180fc42265146f8b50ecbdb1e002f6d218b Partial-Bug: #1724987 --- attributes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributes/default.rb b/attributes/default.rb index 9c0afff..e9d0c51 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -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'