openntpd is an alternative implementation of time synchronization
by the openbsd project and is packaged for debian and ubuntu
since at least jessie / 18.04 with the service named openntpd.service
Signed-off-by: Oleander Reis <oleander.reis@hostserver.de>
(cherry picked from commit
dadf786e77f0adc2f62fd91a70f4ed31a82c1e32)
'ntpd.service', # el7 (at least)
'ntp.service', # 18.04 (at least)
'ntpsec.service', # 20.04 (at least) / buster
+ 'openntpd.service', # ubuntu / debian
]
if not check_units(ctx, units, enabler):
logger.warning('No time sync service is running; checked for %s' % units)