help-cfengine
[Top][All Lists]
Advanced

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

This _must_ be stupid, but...


From: Marco Marongiu
Subject: This _must_ be stupid, but...
Date: Thu, 28 Apr 2005 18:29:27 +0200
User-agent: Mozilla Thunderbird 1.0 (X11/20050116)

...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





reply via email to

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