diff --git a/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml b/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml index 103e08113f81..b94d2306a8fe 100644 --- a/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml +++ b/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml @@ -4,7 +4,11 @@ documentation_complete: true title: 'Enable the NTP Daemon' description: |- + {{% if "debian" in product %}} + {{{ ocil_service_enabled(service="chrony") }}} + {{% else %}} {{{ ocil_service_enabled(service="chronyd") }}} + {{% endif %}} Note: The chronyd daemon is enabled by default.

{{{ ocil_service_enabled(service="ntpd") }}} @@ -23,7 +27,7 @@ description: |- for guidance which NTP daemon to choose depending on the environment used. rationale: |- - Enabling some of chronyd or ntpd services ensures + Enabling some of {{% if "debian" in product %}}chrony{{% else %}}chronyd{{% endif %}} or ntpd services ensures that the NTP daemon will be running and that the system will synchronize its time to any servers specified. This is important whether the system is configured to be a client (and synchronize only its own clock) or it is also @@ -60,5 +64,9 @@ references: srg: SRG-APP-000116-CTR-000235 ocil: |- + {{% if "debian" in product %}} + {{{ ocil_service_enabled(service="chrony") }}} + {{% else %}} {{{ ocil_service_enabled(service="chronyd") }}} + {{% endif %}} {{{ ocil_service_enabled(service="ntpd") }}}