Nope. What you're forgetting is the DeMorgan Laws. !A & !B <=> ! (A | B)
!(A & B) <=> !A | !B -Dan On Sep 14, 2010, at 2:16 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Logic headache > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,18232,18232#msg-18232 > > I'm having a calculus flashback. Shouldn't these two classes be equivalent? > 1. !(Sunday.Morning.dev_env.phost) > > 2. !Sunday.!Morning.!dev_env.!phost > > > Further, if this host is a member of the 'phost' class why does this evaluate > to be true? > (Tuesday|Friday).Afternoon.dev_env.!phost) > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine