mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Update get_hwclock to support NILinuxRT systems
Test coverage is provided by: integration.modules.timezone.TimezoneLinuxModuleTest.test_get_hwclock
This commit is contained in:
parent
cf51b6a037
commit
3b9924f165
@ -389,7 +389,7 @@ def get_hwclock():
|
||||
|
||||
else:
|
||||
os_family = __grains__['os_family']
|
||||
for family in ('RedHat', 'Suse'):
|
||||
for family in ('RedHat', 'Suse', 'NILinuxRT'):
|
||||
if family in os_family:
|
||||
return _get_adjtime_timezone()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user