Aleksey, I did my experiments with Cfengine almost an year ago, so I might be missing something. Perhaps, you can achieve your goals like follows:
bundle common g { classes: "italy" expression => classmatch("mil.*"); } body common control { italy:: inputs => { "italy.cf", "common.cf" }; !italy:: inputs => { "global.cf", "common.cf" }; } 2011/5/20 Aleksey Tsalolikhin <atsaloli.t...@gmail.com>: > I moved the classes promise higher, before the vars promise, > (which is how it is evaluated anyway), but I get: > > Can't stat file "./@(g.country)" for parsing > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine