On 09/10/2012 01:16 AM, Diego Zamboni wrote: > Hi Nick, > > I haven't fully worked through the reason, but I'm pretty sure the problem > lies with the not(), because the not() function returns a string, which is > then being classify-ed - so the "!" inserted by the not() would be lost. > > Attached is an example that works - it precomputes the canonified class > names, and then just uses those in the expressions:
Yeah, thanks Diego I ended up doing similar just had not posted back to the list yet. I played with a bunch of different ways trying to get around pre-canonifying. I think most of my issues are solved by just canonifying the string that makes class_prefix in the example. Which is probably better anyway for most cases. Seems like I should be able to do the evaluation without pre-classifying though. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine