From d8f3af044efcac7865ca8433745dcc6e1456e9fd Mon Sep 17 00:00:00 2001 From: Seb-Solon Date: Thu, 26 Oct 2017 12:44:59 -0400 Subject: [PATCH] Replace platform_family method and use attribute instead platform_family method is not working on latest Chef versions Change-Id: I527f6ec23b38e149d51f00e7a214aded95a14bd8 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 d20338e..2dcca17 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -63,7 +63,7 @@ default['openstack']['orchestration']['ec2authtoken']['auth']['version'] = 'v2.0 default['openstack']['orchestration']['api']['auth']['version'] = node['openstack']['api']['auth']['version'] # platform-specific settings -case platform_family +case node['platform_family'] when 'rhel' default['openstack']['orchestration']['user'] = 'heat' default['openstack']['orchestration']['group'] = 'heat'