CFEngine Help: Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Server load and client installation Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25182,25193#msg-25193 For Ubuntu EC2 instances (maybe it's supported now in other distributions) you could also use cloud-init to install

Re: Unexpected behavior with replace_or_add from stdlib

2012-03-06 Thread Diego Zamboni
> I believe it's because the line you are matching (HOSTNAME=node1) is > present, and the regexp matching the search line is not anchored to the > end of the line > Using this regexp solved the issue : > "^(?!$(line)$)$(pattern)$" > > (note the extra $ after line) Good catch, and thanks for the

Re: Unexpected behavior with replace_or_add from stdlib

2012-03-06 Thread Nicolas Charles
On 06/03/2012 01:17, Nick Anderson wrote: > On 03/05/2012 06:10 PM, Aleksey Tsalolikhin wrote: >> On Mon, Mar 5, 2012 at 3:28 PM, Nick Anderson wrote: >>> On 03/05/2012 04:33 PM, Daniel V. Klein wrote: It is pretty hard to determine what you did wrong when you haven't shared what you di

Re: CFEngine Help: Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Erik Mouw
On Mar 6, 2012, at 16:38, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: Server load and client installation > Author: sreejithpoothu > Link to topic: https://cfengine.com/forum/read.php?3,25182,25188#msg-25188 > > HI, > > on existing systems (servers are h

Re: CFEngine Help: Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Nick Anderson
On 03/06/2012 09:38 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: Server load and client installation > Author: sreejithpoothu > Link to topic: https://cfengine.com/forum/read.php?3,25182,25188#msg-25188 > > HI, > > on existing systems (servers are host

CFEngine Help: Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Server load and client installation Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,25182,25188#msg-25188 HI, on existing systems (servers are hosted on amazon cloud),Is ther any method than scripting?

CFEngine Help: Re: Behaviour of promise_repaired/promise_kept

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Behaviour of promise_repaired/promise_kept Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25173,25187#msg-25187 The promise outcome is based on the return value of the package manager. Some return values are not what a reasonable person

Re: CFEngine Help: Re: Behaviour of promise_repaired/promise_kept

2012-03-06 Thread Mike Brodbelt
On 06/03/12 13:43, no-re...@cfengine.com wrote: > > Package managers can act in unexpected and unwanted ways. Look at the > verbose output of the agent to see what is going on. > I've been through the verbose output at some length - the package manager seems to be doing exactly what it's suppo

Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Erik Mouw
On Mar 6, 2012, at 15:41, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Server load and client installation > Author: sreejithpoothu > Link to topic: https://cfengine.com/forum/read.php?3,25171,25184#msg-25184 > > Hi tjavo87, > > Thanks for your information.Is there any form

CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Server load and client installation Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,25171,25184#msg-25184 Hi tjavo87, Thanks for your information.Is there any formula to get cpu load on server suppose if we have 200 clients connecting

Re: Behaviour of promise_repaired/promise_kept

2012-03-06 Thread Jesse Becker
On Tue, Mar 06, 2012 at 08:04:53AM -0500, Mike Brodbelt wrote: >Hi, > >I have a cfengine config that's not quite doing what I expect. I have a >bundle that's set to install certain packages, and then adds some config >files based on what's been installed. Slightly paraphrasing, the config >I have l

CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Server load and client installation Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25171,25181#msg-25181 sreejithpoothu Wrote: --- > Hi tjavo87, > > All machines are linux boxes.Did u meant

Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Jesse Becker
On Tue, Mar 06, 2012 at 09:23:17AM -0500, no-re...@cfengine.com wrote: >Forum: CFEngine Help >Subject: Re: Server load and client installation >Author: sreejithpoothu >Link to topic: https://cfengine.com/forum/read.php?3,25171,25180#msg-25180 > >Hi tjavo87, > >All machines are linux boxes.Did u mea

CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Server load and client installation Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,25171,25180#msg-25180 Hi tjavo87, All machines are linux boxes.Did u meant to create a script? ___ Help-cf

CFEngine Help: Re: if-then-else

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: if-then-else Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25175,25179#msg-25179 mark Wrote: --- > Hi, > > In CFEngine you don't have to check this kind f > thing in advance. The checking

CFEngine Help: Re: if-then-else

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: if-then-else Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25175,25178#msg-25178 Hi, In CFEngine you don't have to check this kind f thing in advance. The checking is built into the semantics of the language. All you do is to assert that you

CFEngine Help: Re: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Server load and client installation Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25171,25177#msg-25177 sreejithpoothu Wrote: --- > HI, > > We have around 200 clients.Do we need to install

CFEngine Help: Re: How can i delete this key?the "location unknown"hostname and IP

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: How can i delete this key?the "location unknown"hostname and IP Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25172,25176#msg-25176 colinzhouyj Wrote: --- > HI, > i got a "localtion unkno

CFEngine Help: if-then-else

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: if-then-else Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25175,25175#msg-25175 Hi All, I don't know if it's possible but I hope you can help. I wanna make a promise that checks if there are updates available (red hat), if not do nothing els

CFEngine Help: Re: Behaviour of promise_repaired/promise_kept

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Behaviour of promise_repaired/promise_kept Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25173,25174#msg-25174 Package managers can act in unexpected and unwanted ways. Look at the verbose output of the agent to see what is going on.

Behaviour of promise_repaired/promise_kept

2012-03-06 Thread Mike Brodbelt
Hi, I have a cfengine config that's not quite doing what I expect. I have a bundle that's set to install certain packages, and then adds some config files based on what's been installed. Slightly paraphrasing, the config I have looks like this:- packages: any:: "$(base_lis

CFEngine Help: How can i delete this key?the "location unknown"hostname and IP

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: How can i delete this key?the "location unknown"hostname and IP Author: colinzhouyj Link to topic: https://cfengine.com/forum/read.php?3,25172,25172#msg-25172 HI, i got a "localtion unknown" hostname and IP key with command '/var/cfengine/bin/cf-key -s': # /var/cf

CFEngine Help: Server load and client installation

2012-03-06 Thread no-reply
Forum: CFEngine Help Subject: Server load and client installation Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,25171,25171#msg-25171 HI, We have around 200 clients.Do we need to install cfengine package one by one on each client.Is there any option to install them