Array Iteration & Non-Existent Elements

2012-10-12 Thread Ian Westcott
Hi, I'm new to this list and to CFEngine in general, so forgive me if there's a simple answer to this question that I'm not aware of. I'm trying to pull in a list of packages for installation. Some packages require a specific version number, while many others do not. So the package list looks

Re: Time classes question

2012-10-12 Thread Brian Bennett
I agree with this assessment. The next 5-minute marker is Min25_30. If Min20_25 were inclusive, then it would overlap with Min25_30 by one minute. It makes sense when they're considered together, and it's better syntax than Min20_24_59. On Oct 12, 2012, at 10:21 AM, Brad Beyenhof wrote: > On

Re: Time classes question

2012-10-12 Thread Brad Beyenhof
On Fri, Oct 12, 2012 at 7:31 AM, Bas van der Vlies wrote: > > When i specify a time class like: > * Min20_25 > > Till which minute is this class valid. Is minute Min25 also valid? > > I have written a simple test and it show that Min25 is invalid I seems to me that this should be expected. The "

Time classes question

2012-10-12 Thread Bas van der Vlies
When i specify a time class like: * Min20_25 Till which minute is this class valid. Is minute Min25 also valid? I have written a simple test and it show that Min25 is invalid (test with 3.3.2 and 3.4.0b2.ef90fb5) body common control { bundlesequence => { test }; } bundle agent test { re

Re: CFengine Parser

2012-10-12 Thread Mark Burgess
Thanks, Bas. I will register a bug for this. In general, please use the bug tracker, rather than the mailing list to report omissions like this. M On 12/10/12 14:18, Bas van der Vlies wrote: I find cfengine3 much better then previous version (1 and 2), The only main concern for me is the p

Re: CFEngine Help: Re: CFEngine Help: memory exhausted error

2012-10-12 Thread Mark Burgess
Following up on this finally On 06/08/12 20:41, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: memory exhausted error > Author: passerby > Link to topic: https://cfengine.com/forum/read.php?3,26355,26914#msg-26914 > > You've been using right recursion in your bi

CFengine Parser

2012-10-12 Thread Bas van der Vlies
I find cfengine3 much better then previous version (1 and 2), The only main concern for me is the parser and how it reports syntax errors, Previous cfengine versions had the same problem. A lot can improved in this area. The syntax for cfengine is clear and can easily be checked. It will also b