Forum: Cfengine Help Subject: dereference symbolic link with copy_from Author: eric Link to topic: https://cfengine.com/forum/read.php?3,18509,18509#msg-18509
(Cfengine - 3.0.5, linux, solaris) I am trying to copy a file from a server on which /src is nfs mounted (smells like herring). When the file /src/etc/defaultfoo exists, /etc/foo is updated correctly. If /src/etc/defaultfoo is a symbolic link, eg: /src/etc/defaultfoo -> /etc/etc/DefaultFoo the file is not copied. I don't want to copy the link, I am after the file it is pointing to. How do I get copy_from (or something else) to dereference the link? bundle agent copystuff { files: "/etc/foo" copy_from => remote("thatserverthere.pri", "/src/etc/defaultfoo"), action => immediate; } thanks, -e _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine