Forum: Cfengine Help Subject: Re: Turning on multiple classes on a file copy? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,20803,20825#msg-20825
Jessica, Cfengine is much more C-style than Perlish, so that if your body classes takes one argument of type slist, you must call it with slist, and you cannot define a variable inline, only in vars section. If your intent assumes passing several args into body, just define another body: body classes define_two(x, y) { promises_repaired => { "$(x)", "$(y)" }; } _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine