Dear cfengineers, I have used cfengine for a while to keep configs in sync on my cluster. The issue now is that I installed (using FAI) few new nodes. Of cause files on them have newer ctime/mtime. I need to have them all copied once (ie be forced to have type=md5sum or just force=true).
In my cfengine config in most of the cases I use default type (ie omitting it) while in some I use mtime (for consequtive editing), so I can't simply redefine DefaultCopyType for those new hosts to be md5sum. Since the only way seems to be to define force=true for ALL of the files in copy section there is a question: Is there a way to define options globally for the whole section (ie copy, or per class in a section) instead of per line? Artificially it can be done by creating a variable DOFORCE and adding explicitly force=$(DOFORCE) to every line, but I think it is somewhat ad hoc -- may be there is better way? Thank you in advance for ideas. -- Yaroslav Halchenko Research Assistant, Psychology Department, Rutgers-Newark Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171 101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102 Student Ph.D. @ CS Dept. NJIT _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine