help-cfengine
[Top][All Lists]
Advanced

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

Re: symlinks and the copy: directive


From: Paul Krizak
Subject: Re: symlinks and the copy: directive
Date: Tue, 20 Dec 2005 17:21:31 -0600
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

According to the documentation:

nofile=kill/force
This decides what happens to links which point to non-existent files. The default action is to remove such links, or refuse to create them. By setting the force option you can force cfengine to make symbolic links to files which do not exist. This is useful for setting up links to filesystems which are not permanently mounted.


So you can presumably do something like

links:

someclass::

/some/file -> /some/other/file nofile=force

Paul Krizak                         5900 E. Ben White Blvd. MS 625
Advanced Micro Devices              Austin, TX  78741
Linux/Unix Systems Engineering      Phone: (512) 602-8775
Microprocessor Solutions Sector


Brian C. Hill wrote:
        I posted this last week; no one responded. Is there a better
way to achieve this?

        I want to copy a tree of symbolic links, some of which will not
actually point to anything on some systems.  Is there a way to get
cfengine to copy the symbolic link without worrying about whether the
link is 'dangling' or not?

Brian


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





reply via email to

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