Recommit for updates in build 14
This commit is contained in:
@@ -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 => '/usr/sbin/getsebool antivirus_can_scan_system | grep --quiet "on"',
|
unless => '/usr/sbin/getsebool antivirus_can_scan_system | grep --quiet "on"',
|
||||||
path => ['/usr/sbin', '/bin'],
|
path => ['/usr/sbin', '/bin'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# create a cron job to run a daily scan
|
||||||
|
cron { 'clamscan':
|
||||||
|
command => '/bin/clamscan -r / >> /var/log/clamav/daily-scan.log',
|
||||||
|
user => 'root',
|
||||||
|
hour => 2,
|
||||||
|
minute => 0,
|
||||||
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user