On 7 jul 2011, at 13:32, [email protected] wrote:
>  topic: https://cfengine.com/forum/read.php?3,22757,22757#msg-22757
> 
> Hi, I have this:
> 
> files:
>  any::
>    "/" -> "common_root"
>      handle     => "copy_common_root",
>      comment   => "we first copy everything necessary from the CopyHost",
>      copy_from   => cp_from_configtree("trees/common"),
>      depth_search => recurse("inf");
> 
I think you must remove  the '-> "common_root"' from "/" statement: eg:

"/" 
     comment => "common_root",
     handle     => "copy_common_root",
     comment   => "we first copy everything necessary from the CopyHost",
     copy_from   => cp_from_configtree("trees/common"),
     depth_search => recurse("inf");
> 
> which is supposed to recursively copy a tree structure to the root-Directory 
> of my client host, but I get
> 
> cf-agent -f ./promises.cf 
> !! Non-absolute path in source attribute (have no invariant meaning): /
> 
> 
> Is this a feature or simply something that nobody has tried before? As far as 
> I understand it, '/' is an absolute path.
> 
> Cheers,
> Sven
> 
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine

--
Bas van der Vlies
[email protected]



_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to