[PATCH] Changing scan frequency to once a week.

Dennis Gilmore dennis at ausil.us
Wed Aug 4 16:02:43 UTC 2010


On Wednesday, August 04, 2010 09:38:39 am Mike McGrath wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20100804/ea18437f/attachment-0001.bin 


More information about the infrastructure mailing list