Forum: CFEngine Help Subject: Re: Raise a class when class thing1 but not class thing2 Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,27246,27270#msg-27270
How about substituting your variable class names into: classes: "a_and_not_b" or => { "any" }, ifvarclass => "a&!b"; or classes: "a_and_not_b" and => { "a" }, not => "b"; or classes: "a_and_not_b" ifvarclass => "a", not => "b"; Presuming you've already canonified the variables which will combine to form "a" and "b" in those examples, you shouldn't need to re-canonify. Or am I missing something subtle here? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine