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 21:19:48 +0200 (MEST)

You are starting with something very complicated. I
would start with something simpler and build up step
by step. You can use cfagent -d2 or -v to trace exactly
what is happening.

Also note that you can use "filters" tp pick out files
in a file search,

Mark


On  2 Apr, jens persson wrote:
> On Wed, Apr 02, 2003 at 03:02:53PM +0200, Mark Burgess wrote:
>> 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
> 
> I just tried that an sad to say, it didn't help.
> /jp
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]