help-cfengine
[Top][All Lists]
Advanced

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

tidy


From: Wipf, Stefan
Subject: tidy
Date: Tue, 04 Feb 2003 14:33:41 -0600

unlike 'copy', 'links', etc. it appears that the 'tidy'
action can only be used once in the action sequence.
The second invocation of the tidy action returns an 
empty list of directories to tidy.

Is that intentional?


Example:
cfengine version: 2.0.5pre2

tidy:
 _classA::
    /dirA  pat=* r=0 age=0
 _classB::
    /dirB  pat=* r=0 age=0


this actionsequence works as expected,tidying /dirA and /dirB:
 actionsequence = ( tidy._classA._classB )

but this actionsequence never sees /dirB:
 actionsequence  = ( tidy._classA tidy._classB ) 



>From cfagent -v:


...
*********************************************************************
 Main Tree Sched: tidy._classA pass 1 @ Tue Feb  4 14:24:47 2003
*********************************************************************
      New temporary class additions
        --------( Pass 1 )-------
                 _classA    
---------------------------------------------------------------------
Tidying Spool Directories
---------------------------------------------------------------------
---------------------------------------------------------------------
Tidying by directory
---------------------------------------------------------------------
Directory /dirA
...
...
*********************************************************************
 Main Tree Sched: tidy._classB pass 1 @ Tue Feb  4 14:24:47 2003
*********************************************************************
      New temporary class additions
        --------( Pass 1 )-------
                 _classB
---------------------------------------------------------------------
Tidying Spool Directories
---------------------------------------------------------------------
---------------------------------------------------------------------
Tidying by directory
---------------------------------------------------------------------


-- 
Stefan Wipf
swipf@htc.com




reply via email to

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