Forum: Cfengine Help
Subject: Follow symbolic link - copy_from
Author: jjstuart
Link to topic: https://cfengine.com/forum/read.php?3,19033,19033#msg-19033

Hi,
I'm trying to use copy_from to copy a file to a remote server. The problem I 
have is that the destination path has a symbolic link in it for one of the 
directories. When cfengine3 runs, it makes a backup of the directory that was a 
link and creates a new directory in its place and drops the file in there. Does 
anyone know how I can force copy_from to follow sym links?


Here are the options I am using with copy_from


source      => "$(from)";
servers     => { "$(server)" };
compare     => "digest";
encrypt     => "true";
verify      => "true";
portnumber  => "$(g.cf3_port)";

Thanks

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to