[PATCH] Changing scan frequency to once a week.
Mike McGrath
mmcgrath at redhat.com
Wed Aug 4 14:38:39 UTC 2010
Also being far more selective on pkgs
---
manifests/servergroups/distgit.pp | 2 +-
modules/clamav/manifests/init.pp | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/manifests/servergroups/distgit.pp b/manifests/servergroups/distgit.pp
index 4c5b63c..916c781 100644
--- a/manifests/servergroups/distgit.pp
+++ b/manifests/servergroups/distgit.pp
@@ -19,7 +19,7 @@ class distgit {
#include clamav::freshclam
clamav::clamscan { 'admin at fedoraproject.org':
- paths => '/srv/cache/lookaside /srv/git/rpms/'
+ paths => '/srv/cache/lookaside/pkgs'
}
git::git-server { '/srv/git/rpms': }
diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp
index 3bc36b7..51eadc6 100644
--- a/modules/clamav/manifests/init.pp
+++ b/modules/clamav/manifests/init.pp
@@ -24,11 +24,11 @@ class clamav::freshclam {
}
define clamav::clamscan ($paths,
- $minute=30,
- $hour=7,
+ $minute=35,
+ $hour=4,
$monthday="*",
$month="*",
- $weekday="*") {
+ $weekday=5) {
# $name is the mailto address
$mailto = $name
--
1.7.2
More information about the infrastructure
mailing list