help-cfengine
[Top][All Lists]
Advanced

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

tidy (still?) broken


From: Wheeler, John
Subject: tidy (still?) broken
Date: Tue, 13 Jul 2004 11:48:54 -0500

I have a strange relationship with this directive. I can generally never
get it to cooperate. I'm using 2.1.6 on solaris 2.8 and I have the
following:

# ls -l /export/home/emailmgt/lib/test.properties
lrwxrwxrwx   1 root     other         75 Jul 13 10:28
/export/home/emailmgt/lib/test.properties ->
/apps/drop/emailmgmt/emailmgmt_040713-1026-11.00.00-RC3/lib/test.propert
ies
# more removelinksdir.conf
control:
    actionsequence = (
        tidy
    )
    IfElapsed = ( 0 ) #So I can hammer away and not worry about locks
tidy:
    /export/home/emailmgt/lib
        age=0
        include=*
        recurse=inf
        links=traverse
        dirlinks=tidy
# /usr/local/sbin/cfagent  --verbose --no-splay -f
/var/cfengine/inputs/removelinksdir.conf

Reference time set to Tue Jul 13 11:42:04 2004

GNU Configuration Engine -
2.1.6
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway

------------------------------------------------------------------------

Host name is: app006qa.eb.com
Operating System Type is sunos
Operating System Release is 5.8
Architecture = sun4u

<snip>
....

*********************************************************************
 Main Tree Sched: tidy pass 1 @ Tue Jul 13 11:42:04 2004
*********************************************************************

---------------------------------------------------------------------
Tidying Spool Directories
---------------------------------------------------------------------

---------------------------------------------------------------------
Tidying by directory
---------------------------------------------------------------------

---------------------------------------------------------------------
Tidying home directories
---------------------------------------------------------------------

No home patterns to search
---------------------------------------------------------------------
Alerts
---------------------------------------------------------------------



++++++++++++++++++++++++++++++++++++++++
Summary of objects involved
++++++++++++++++++++++++++++++++++++++++

    global
    main

but it never removes the sym links. Is b/c they were created today? I
can't work this out. I've tried numerous combinations of tidy options,
but this seems pretty straight forward, "remove everything under the
/export/home/emailmgt/lib dir". I've always had to cheat and just shell
out with an rm, but I thought I give this relationship one more try.




reply via email to

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