Update get_hwclock to support NILinuxRT systems

Test coverage is provided by:
integration.modules.timezone.TimezoneLinuxModuleTest.test_get_hwclock
This commit is contained in:
Jeffrey Pautler 2017-05-16 12:32:09 -05:00
parent cf51b6a037
commit 3b9924f165

View File

@ -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()