Node:links, Neste:, Forrige:interfaces, Opp:Command reference



links

The symbolic links function is one of the greatest plusses in cfengine as a system administration tool. It allows you to do two things: check single links for correctness and consistency (or make them if they do not exist), and check or make links to every file in a designated directory. This latter feature is called multiple linking or linking children. The linkchildren feature is also available from the files action Se files. The syntax of a link item is:

  from-link ->[!] to-object
 or
  from-link +>[!] to-object

            type=symbolic/absolute/abs/hard/relative/rel
            copy=pattern
            recurse=number/inf/0
            copytype=checksum/ctime
            include=pattern
            exclude=pattern
            ignore=pattern
            action=silent
            deadlinks=kill/force
            define=classlist
            nofile=kill/force
            syslog=true/on/false/off
            inform=true/on/false/off

The special variable $(binserver) can be used in links.