Re: bug

2010-01-30 Thread Neil Watson
Greetings, Today I upgraded to the latest svn trunk. I started cf-serverd with -Fv. Then I introduced an error in promises.cf be removing some commas from the bundle sequence list. The server rereads the files and reports the syntax error. I then run the agent. The agent reports errors and go

Re: error in stdlib

2010-01-30 Thread Neil Watson
On Sat, Jan 30, 2010 at 04:17:25PM +0100, Mark Burgess wrote: > >It it not always as easy to give this information as you might think, >but I'll look into it. Worthwhile things are often not easy :) -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca

Re: error in stdlib

2010-01-30 Thread Mark Burgess
It it not always as easy to give this information as you might think, but I'll look into it. M Neil Watson wrote: > Another example of tough errors to find: > ettin:/var/cf-masterfiles/config/trunk/inputs# cf-promises -f > ./promises.cf > Scalar variable src contains itself (non-convergent): $

Re: error in stdlib

2010-01-30 Thread Neil Watson
Another example of tough errors to find: ettin:/var/cf-masterfiles/config/trunk/inputs# cf-promises -f ./promises.cf Scalar variable src contains itself (non-convergent): ${src} Scalar variable src contains itself (non-convergent): ${src} Without file and line numbers this is tough to find. --

Re: max defaults

2010-01-30 Thread flex
This is very important. Sometime, i must test the default value or action by myself, otherwise i didn't know the result... 2010/1/29 Sergio Simone > yeah, > it would be great to have clearly stated defaults for everything in the > doc... > > cheers! > sergio > > On 28/gen/2010, at 15.41, nwat..

Re: How to get all the values of an array?

2010-01-30 Thread Nicolas Charles
Hi, Maybe you'd rather call the bundle backuping the file once per file ? bundle agent array() { vars: "files[sysctlconf]" string => "/etc/sysctl.conf"; "files[inittab]" string => "/etc/inittab"; "files[sshdconfig]" string => "/etc/ssh/sshd_config"; "filesId" slist => getindices("files");