...I can't get through. The question is simple: what's the cfengine way to remove an unwanted link?

I have a directory where I have to copy a file from a master. But in the destination directory there is a deadlink that prevents the copy to succeed.

I first tried with a tidy action, but it couldn't delete it. I dug in the documentation, and it looked like I should use "files:" instead. So I wrote something like this:

files:
  any::
    ${orafilesdir}  include=thatF_____gLink
                    links=tidy
                    action=fixall

But it is doing nothing:

---8<------8<------8<------8<------8<------8<------8<------8<------8<---
 Main Tree Sched: files pass 1 @ Thu Apr 28 18:15:04 2005
*********************************************************************

Checking file(s) in /value/of/dollar/orafilesdir
Saving the setuid log in /var/cfengine/cfagent.ims-pre-at.log
---8<------8<------8<------8<------8<------8<------8<------8<------8<---

I tried many different approaches, but with no success. Can anybody help, please?

Ciao and thanks
--marco



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to