mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-04 20:17:55 +00:00
5d4dee34ae
setupntp treats the requested backend as a preference in one direction only. A node given --backend chrony without chronyd uses ntpd, but a node given --backend ntpd without ntpd still hands over to setupntp.traditional, which writes /etc/ntp.conf and starts a daemon that is not installed. The selection cases in makentp_ntp_deps.t now also make ntpd absent. The stub for check_executes takes a list of absent commands, so a case can hide ntpd, or ntpd and chronyd together. Two cases fail: --backend ntpd and --use-ntpd both keep ntpd where only chrony is present. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>