On Fri, Apr 23, 2010 at 3:38 AM, Сева Глущенко <seva.glusche...@gmail.com> wrote: > Hello folks, > > I'm trying to make a promise which creates files when their > counterparts not exist yet. But when I'm writing something like > > compile:: > "$(base)/(.*)/.compile" > create => "true", > ifvarclass => !canonify(fileexists("$(dst)/$(match.1)")), > comment => "force compiler execution"; > > The Cfengine reports syntax error on that. Am I missed something? Is > there a way to accomplish this task at all?
Hi. I've just requested an ifnotvarclass attribute, which would resolve this cleanly, without requiring a separate promise to invert the class. https://cfengine.com/bugtracker/view.php?id=123 I've put it in as a note on Seva's ticket, rather than a separate feature request ticket. Please consider it? Cheers, Aleksey _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine