On 20-05-11 09:27, Seva Gluschenko wrote: > 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" }; > } >
I also reported this issue in bug report: * https://cfengine.com/bugtracker/view.php?id=484 In here there is also a work around. just add another slist that can be resolved in the first cfengine pass. This bug is closed and continued in, because several people have reported issues with variable expansion: * Filed bug https://cfengine.com/bugtracker/view.php?id=516 -- ******************************************************************** * Bas van der Vlies e-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ******************************************************************** _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine