On 12/20/2011 06:28 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine > design decisions? > Author: sauer > Link to topic: https://cfengine.com/forum/read.php?3,24311,24379#msg-24379 > > Ted Zlatanov Wrote: >> I think local classes should remain as they are, but the user should >> have an option to push them to the global scope. Otherwise cfengine has >> to change the class selector syntax to denote scope; obviously >> "bundle.classname" won't work because "." is AND >> already, so the syntax will get nasty. > I never use the . as an "and" operator, because it's the one thing in > CFEngine which isn't consistent; sometimes it's used to specify scope, and > other times it's used as a boolean. I'd personally *really* like to see the > ability to turn on a compatability option in the agent control body which > switches the period in class names from a boolean operator over to a scope > specifier. >
If you think in set logic, these are equivalent, so I don't really perceive a problem here as you do. The "." means subset, which is an AND. -- CTO and Founder CFEngine http://www.cfengine.com http://www.markburgess.org _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine