Forum: CFEngine Help
Subject: files: copy to "/" does not seem to work
Author: svenXY
Link to 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");
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