help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with tidy in 2,0,4


From: Mark Burgess
Subject: Re: Problems with tidy in 2,0,4
Date: Wed, 2 Apr 2003 15:02:53 +0200 (MEST)

On  2 Apr, jens persson wrote:
> Hello all!
> 
> I'm having some problems with tidying contents of subdirectorys. The
> setup is as follow:
> tidy:
>    dbservers::
>       /var/opt/db/*/foo/bar/
>          pattern=baz_*.bar
>          type=mtime
>          recurse=0
>          age=7
> 
> This should tidy all files listed by:
> 
> ls /var/opt/db/*/foo/bar/baz_*.bar
> 
> Problem is, it dosen't. If I replace the * in /var/opt/db/*/foo/bar/
> with a specific instance that exists it gets tidied but the list of
> directorys is changing over time and between hosts so that is not a
> workable way of solving it. I read the Tutorial (and the Reference
> manual) as this should be possible. Is it a bug or am I way of?
> 
> Best
> /jp


You have set recurse=0.  You want recurse=inf

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]