You could use:

     body link_from example
     {
     when_no_source => "force";
     }

But why worry if you're copying the whole tree?  Cfengine will converge on the 
correct solution, and the ultimate goal is what you seek, and Cfengine will 
provide that.

-Dan


On Nov 17, 2010, at 12:41 PM, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote:

> Hi all,
>  Don't know why I haven't noticed this before, but when copying directories 
> recursively for the first time, and the source has symlinks in it, depending 
> on the sequence of how files are seen, the symlink does not get created if 
> the source file isn't copied first. This behavior is seen in both version 2 
> and version 3.  Is there any way to do this in copy_from body, similar to how 
> when_no_source in link_from body is used? 
> 
> Thanks, Jim 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

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

Reply via email to