Skip to content

Commit

Permalink
update chronyd_specify_remote_server for debian
Browse files Browse the repository at this point in the history
debian ships chrony configuration files under /etc/chrony/
  • Loading branch information
a-skr committed Jul 11, 2024
1 parent 34011f7 commit d5438d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

<ind:textfilecontent54_object comment="Ensure at least one NTP server is set"
id="object_chronyd_remote_server" version="1">
<ind:filepath operation="pattern match">^/etc/chrony\.(conf|d/.+\.conf)$</ind:filepath>
<!-- ind:filepath operation="pattern match">^/etc/(?:chrony/)?chrony\.(conf|d/.+\.conf)$</ind:filepath -->
<ind:filepath operation="pattern match">^({{{ chrony_conf_path }}}|{{{ chrony_d_path }}}/.+\.conf)$</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?:server|pool)[\s]+.+$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
Expand Down
3 changes: 3 additions & 0 deletions products/debian12/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ init_system: "systemd"

oval_feed_url: "https://www.debian.org/security/oval/oval-definitions-bookworm.xml.bz2"

chrony_conf_path: "/etc/chrony/chrony.conf"
chrony_d_path: "/etc/chrony/chrony.d"

cpes_root: "../../shared/applicability"
cpes:
- debian12:
Expand Down

0 comments on commit d5438d5

Please sign in to comment.