Validation error for restart_class rvalue

2010-01-12 Thread Jim Lawson
Hi help-cfengine, I am just getting started with Cf3. I was fiddling with some of the examples using community 3.0.2. Since updating to 3.0.3 I have started seeing lots of messages like the following: Validation: Scalar item in restart_class => { startcfexecd } in rvalue is out of bounds (value

Re: copy and file perms

2010-01-12 Thread Neil Watson
On Mon, Jan 11, 2010 at 07:28:58AM +0100, Mark Burgess wrote: Neil. You are correct that this option was not implemented. The default value of all boolean type /true/false options is always false, so preserving original perms should not be the default behaviour. I have patched svn to fix this.

Re: Segmentation Fault in cf-agent

2010-01-12 Thread Eystein Måløy Stenberg
Hi, a backtrace (from e.g. gdb) is needed to make any sense of this. Other than that, Cfengine version info and a policy file that causes the fault would be useful. --Eystein On 01/12/2010 07:03 PM, Jordan Redner wrote: > I'm receiving a segmentation fault from cg-agent built on Snow Leopard. H

Newbie Question

2010-01-12 Thread Ian Goldstein
Hi I am looking at a way of maintaining my resolv.conf file and was trying to understand the example provided "unit_resolveconf.cf" In this example, it looks like a class (am_name_server) is defined, but never used... Ok I understand this, but I was looking to use it and expand on it. In the

Segmentation Fault in cf-agent

2010-01-12 Thread Jordan Redner
I'm receiving a segmentation fault from cg-agent built on Snow Leopard. Has anyone seen this one with cfengine 3? cf3 Verifying SQL table promises is only available with Cfengine Nova or above cf3 cf3 . cf3 Promise handle: cf3

promise is always repaired when empty_file_before_editing is used

2010-01-12 Thread Andreas Dan Larsson
Hi list, I have some troubles with my cfengine policy that I have isolated in this example. When I run this policy cfengine tells me that my promise have been repaired. # cf-agent -vKf ./test.cf .. [snip] Promises observed to be kept 67%, Promises repaired 33%, Promises not repaired 0% If

Splay over a custom interval

2010-01-12 Thread Nicolas Charles
Hi, I'm trying to splay a large file copy over a large time interval (like several days). Splayclass allows for splaying only in a day or an hour, is there a way to splay over a custom interval (other that customising each promises on each machines?) ? Regards, Nicolas

Int limitation

2010-01-12 Thread Nicolas Charles
Hi, I am wondering where does the int limitation (99) comes from ? It's not based on a power of 2 bit number, and nothing in the code seems to prevents to grow a bit further. I'm raising this issue because with this lmitation, you can't use diskfree when having more than 10TB of free sp

Time interval

2010-01-12 Thread Nicolas Charles
Hi, I'm currently implementing promises that needs to be run after a specific date (and retrying until it is fixed), and before another date. What would be the best solution ? For example, I want to check something only between 15/01/2010 19h00 and 17/01/2010 14h00 What I came up with is : cl

Re: Stdlib in SCM

2010-01-12 Thread bernd . adamowicz
It works. Thanks! Bernd Adamowicz | R&D BasisTechnology Tel.: +49 (0) 6227 385 332 82 | Fax: +49 (0) 6227 385 588 bernd.adamow...@external.icw-global.com | www.icw.de | www.lifesensor.com From: Mark Burgess To: bernd.adamow...@external.icw-global.com Cc: help-cfengine@cfengine.org Date: 12

Re: Stdlib in SCM

2010-01-12 Thread Mark Burgess
Sorry, I know what I did. Try now. bernd.adamow...@external.icw-global.com wrote: > > The extra text is just the name of the local directory which will be > cretaed by the SVN client; it's regular SVN syntax. (The space between > 'trunk' and 'StdLib-trunk' was just missing in the code I pasted.)

Re: Stdlib in SCM

2010-01-12 Thread bernd . adamowicz
The extra text is just the name of the local directory which will be cretaed by the SVN client; it's regular SVN syntax. (The space between 'trunk' and 'StdLib-trunk' was just missing in the code I pasted.) So this does not cause the problem. Trying without 'StdLib-trunk' produces the same: be

Re: Stdlib in SCM

2010-01-12 Thread Mark Burgess
There are no access restrictions, you just added some extra text: svn checkout https://svn.iu.hio.no/projects/COPBL/trunk bernd.adamow...@external.icw-global.com wrote: > > Great! But it seems there are still access restrictions when trying to > check out using SVN: > > be...@proxima-centauri