Skip to content

Commit

Permalink
update documentation for Debian case in service_chronyd_or_ntpd_enabl…
Browse files Browse the repository at this point in the history
…ed rule
  • Loading branch information
a-skr committed Sep 26, 2024
1 parent d885a6d commit 8f8068f
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>chronyd</tt> daemon is enabled by default.
<br /><br />
{{{ ocil_service_enabled(service="ntpd") }}}
Expand All @@ -23,7 +27,7 @@ description: |-
for guidance which NTP daemon to choose depending on the environment used.
rationale: |-
Enabling some of <tt>chronyd</tt> or <tt>ntpd</tt> services ensures
Enabling some of {{% if "debian" in product %}}<tt>chrony</tt>{{% else %}}<tt>chronyd</tt>{{% endif %}} or <tt>ntpd</tt> 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
Expand Down Expand Up @@ -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") }}}

0 comments on commit 8f8068f

Please sign in to comment.