help-cfengine
[Top][All Lists]
Advanced

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

tidy with filters


From: Bas van der Vlies
Subject: tidy with filters
Date: Mon, 25 Aug 2003 16:32:02 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

I am changing some tidy/process statements to use filters. I now
have a problem with tidy action, eg: (2.0.7p3)

control:
        actionsequence = ( tidy )

tidy:
                /tmp
                        pattern=*
                        filter=tidy_tmp
                        recurse=inf
                        rmdirs=sub

filters:
        { tidy_tmp
                Type: "socket"
                FromMtime: "tminus(0,0,20,0,0,0)"
                ToMtime: "now"
                Result: "Mtime"
        }


Will complain with a parse error:
         /var/tmp/tidy.cf:11: Must specify an age for tidy actions

I have specified a age statement in the tidy_tmp filter. Is this an
error or must i also specify an age statement in the tidy action?
It sounds like double work!


--
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************






reply via email to

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