Browse Source

Replace platform_family method and use attribute instead

platform_family method is not working on latest Chef versions

Change-Id: I527f6ec23b38e149d51f00e7a214aded95a14bd8
Partial-Bug: #1724987
Seb-Solon 1 year ago
parent
commit
d8f3af044e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      attributes/default.rb

+ 1
- 1
attributes/default.rb View File

@@ -63,7 +63,7 @@ default['openstack']['orchestration']['ec2authtoken']['auth']['version'] = 'v2.0
63 63
 default['openstack']['orchestration']['api']['auth']['version'] = node['openstack']['api']['auth']['version']
64 64
 
65 65
 # platform-specific settings
66
-case platform_family
66
+case node['platform_family']
67 67
 when 'rhel'
68 68
   default['openstack']['orchestration']['user'] = 'heat'
69 69
   default['openstack']['orchestration']['group'] = 'heat'

Loading…
Cancel
Save