Recommit for updates in build 14

This commit is contained in:
Jenkins Server
2025-06-08 15:06:21 +02:00
parent d570ebf916
commit 24d0268c83

View File

@@ -113,7 +113,15 @@ clamav_cd.
15 15
16 16
17 17
18</pre> 18
19
20
21
22
23
24
25
26</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 7</span> <pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 7</span>
@@ -129,6 +137,14 @@ class clamav_cd::main::config (
unless =&gt; &#39;/usr/sbin/getsebool antivirus_can_scan_system | grep --quiet &quot;on&quot;&#39;, unless =&gt; &#39;/usr/sbin/getsebool antivirus_can_scan_system | grep --quiet &quot;on&quot;&#39;,
path =&gt; [&#39;/usr/sbin&#39;, &#39;/bin&#39;], path =&gt; [&#39;/usr/sbin&#39;, &#39;/bin&#39;],
} }
# create a cron job to run a daily scan
cron { &#39;clamscan&#39;:
command =&gt; &#39;/bin/clamscan -r / &gt;&gt; /var/log/clamav/daily-scan.log&#39;,
user =&gt; &#39;root&#39;,
hour =&gt; 2,
minute =&gt; 0,
}
}</pre> }</pre>
</td> </td>
</tr> </tr>