Both of your ideas should work, but CFEngine is rather picky about quotes...  
Try:



        "class_ab" or => {"class_a", "class_b"}

        "class_ab" expression => "class_a|class_b";

-Dan

On Sep 27, 2011, at 12:13 PM, D'Ausilio, John wrote:

> I define some classes in a common bundle representing groups of hosts:
> 
> class_a or => {classify("a1"),classify("a2"),classify("a3")};
> class_b or => {classify("b1"),classify("b2"),classify("b3")};
> 
> I can't seem to find a way to combine the two classes other than the
> trivial solution
> 
> shouldn't something like this work?
> 
> class_ab or => {class_a, class_b};
> 
> or even ?
> 
> class_ab expression => (class_a|class_b);
> 
> thanks
> 
> 
> ######################################################################
> The information contained in this communication is confidential and
> may contain information that is privileged or exempt from disclosure
> under applicable law. If you are not a named addressee, please notify
> the sender immediately and delete this email from your system.
> If you have received this communication, and are not a named
> recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.
> ######################################################################
> _______________________________________________
> 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

Reply via email to