It worked!
Thanks for the help,
Lisa
-Original Message-
From: Nicolas Charles [mailto:nicolas.char...@normation.com]
Sent: Tuesday, February 07, 2012 5:16 PM
To: Lisa Sittler
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: Re: create class which is a superset of another
On 07/02/2012 19:36, Lisa Sittler wrote:
> Hi Nicholas,
>
> Thanks for the help. I have a working promise file now, based on what you
> and Nick Anderson suggested.
>
> I wasn't able to get the following class definition to work:
>
> "agents" expression => and(regcmp( "ag.*", "$(sys.host)" ),
Tuesday, February 07, 2012 10:22 AM
To: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: Re: create class which is a superset of another
class
Hi Lisa !
>
>> But it seems to me that OR will not work with more than two choices
>> and in reality I want to merge more
Hi Lisa !
>
>> But it seems to me that OR will not work with more
>> than two choices and in reality I want to merge
>> more than two classes. I guess I could use an AND
>> in that case?
> Why would it not work? OR is a logical operation, it would work on any number
> of classes:
>
> "some_c
Forum: CFEngine Help
Subject: Re: create class which is a superset of another class
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,24736,24749#msg-24749
> Let's say I want to create a class which contains
> both classes:
>
> "agents_and_master" or => {
> "