mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Bugfix: use correct grain constant for platform
This commit is contained in:
parent
28072c9e41
commit
ce6a06de98
@ -160,7 +160,7 @@ def get_zone():
|
||||
if __grains__['os'].lower() == 'centos':
|
||||
return _get_zone_etc_localtime()
|
||||
os_family = __grains__['os_family']
|
||||
for family in ('RedHat', 'SUSE'):
|
||||
for family in ('RedHat', 'Suse'):
|
||||
if family in os_family:
|
||||
return _get_zone_sysconfig()
|
||||
for family in ('Debian', 'Gentoo'):
|
||||
|
Loading…
Reference in New Issue
Block a user