CFEngine Help: Re: Chicken/egg Policy-server/client - correction

2012-02-07 Thread no-reply
Forum: CFEngine Help Subject: Re: Chicken/egg Policy-server/client - correction Author: debheller Link to topic: https://cfengine.com/forum/read.php?3,24752,24757#msg-24757 One thing - I was probably being a bit simplistic in my statement that all files in /var/cfengine/masterfiles on the policy

CFEngine Help: Re: Chicken/egg Policy-server/client

2012-02-07 Thread no-reply
Forum: CFEngine Help Subject: Re: Chicken/egg Policy-server/client Author: debheller Link to topic: https://cfengine.com/forum/read.php?3,24752,24756#msg-24756 Pete, when you bootstrap a client to the policy host, all the files in the policy host's /var/cfengine/masterfiles are transferred to the

Re: CFEngine Help: Re: create class which is a superset of another class

2012-02-07 Thread Nicolas Charles
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)" ),

CFEngine Help: Re: Chicken/egg Policy-server/client

2012-02-07 Thread no-reply
Forum: CFEngine Help Subject: Re: Chicken/egg Policy-server/client Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24752,24753#msg-24753 Indeed it does. The server, cf-serverd, and the agent, cf-agent, are two separate processes. However, in the case of the policy server

Re: Chicken/egg Policy-server/client

2012-02-07 Thread Nick Anderson
On 02/07/2012 02:09 PM, Pete Ashdown wrote: > I'm not finding detailed documentation on the CFengine site in regards > to configuring both the policy-server and the client, I am most likely > missing something, but the core question I have is if the policy-server > has the same promises as the clie

Chicken/egg Policy-server/client

2012-02-07 Thread Pete Ashdown
I'm not finding detailed documentation on the CFengine site in regards to configuring both the policy-server and the client, I am most likely missing something, but the core question I have is if the policy-server has the same promises as the clients? In http://www.cfengine.com/manuals/cf3-solutio

RE: CFEngine Help: Re: create class which is a superset of another class

2012-02-07 Thread Lisa Sittler
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)" ), not("agent041"), not("agent042")); But I have a workar

Re: CFEngine Help: Re: create class which is a superset of another class

2012-02-07 Thread Nicolas Charles
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

CFEngine Help: Re: create class which is a superset of another class

2012-02-07 Thread no-reply
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 => { > "