parent
f5f29c0dc7
commit
b992cbdb34
1 changed files with 2 additions and 3 deletions
|
|
@ -272,9 +272,6 @@ ignore_package_versions = true
|
|||
<div class="small text-secondary mb-0">The <code>enroll diff</code> feature supports sending the difference to a webhook of your choosing, or by e-mail. The payload can be sent in json, plain text, or markdown.</div>
|
||||
</div>
|
||||
|
||||
<p class="text-secondary">A great way to use <code>enroll diff</code> is to run it periodically (e.g via cron or a systemd timer). Below is an example.</p>
|
||||
|
||||
<div class="callout p-4 mb-3">
|
||||
<div class="fw-semibold mb-1">Noise suppression</div>
|
||||
<div class="small text-secondary mb-0">Use <code>--exclude-path</code> to ignore file/dir drift under specific paths (e.g. <code>/var/anacron</code>). Use <code>--ignore-package-versions</code> to ignore routine package upgrades/downgrades while still reporting added/removed packages.</div>
|
||||
</div>
|
||||
|
|
@ -301,6 +298,8 @@ ignore_package_versions = true
|
|||
</div>
|
||||
|
||||
<h3 class="section-title fw-bold">How to run <code>enroll diff</code> automatically on a timer</h3>
|
||||
<p class="text-secondary">A great way to use <code>enroll diff</code> is to run it periodically (e.g via cron or a systemd timer). Below is an example.</p>
|
||||
<div class="callout p-4 mb-3">
|
||||
<p class="text-secondary">Store the below file at <code>/usr/local/bin/enroll-harvest-diff.sh</code> and make it executable.</p>
|
||||
<div class="codeblock terminal">
|
||||
<button class="btn btn-sm btn-outline-secondary copy-btn" data-copy-target="#enroll-harvest-diff"><i class="bi bi-clipboard"></i> Copy</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue