Replace platform_family method and use attribute instead

platform_family method is not working on latest Chef versions

Change-Id: I527f6ec23b38e149d51f00e7a214aded95a14bd8
Partial-Bug: #1724987
This commit is contained in:
Seb-Solon 2017-10-26 12:44:59 -04:00
parent cb26f25be4
commit d8f3af044e
1 changed files with 1 additions and 1 deletions

View File

@ -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'