Forum: CFEngine Help Subject: [obsolet] Re: files: copy to "/" does not seem to work Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,22757,22767#msg-22767
Thanks for all the replies. It was some variables not set properly, so fault on my side. Sorry. I'm currently in the process of migrating from cf2 to cf3 and find it a little bit hard to put together all the bits and pieces Maybe I need to give a little bit more detail: the body part is: #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ body copy_from cp_from_configtree(from) { servers => { "$(CopyHost)" }; source => "$(ConfigTree)/$(from)"; compare => "mtime"; trustkey => "true"; copy_backup => "false"; preserve => "true"; stealth => "true"; } and $(ConfigTree) and $(CopyHost) were not set. That's probably the reason why it failed. I'll confirm after fixing this. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine