Re: solaris vs solarisx86

2011-08-30 Thread Mikhail Gusarov
On 29.08.2011 22:10, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote: > Given cfengine already has other built-in classes for cpu/arch (ie i386, > x86), why the distinction here specific to Solaris? It is probably a bug, please open a ticket in bugtracker. -- Mikhail Gusarov ___

Re: Is it safe to bump up editfilesize? How high?

2011-08-30 Thread Nicolas Charles
Hi Aleksey, Actually, the allowed input range is a regular expression, but the value is stored in an int afterward. So you may not be able to edit a file larger than 2 GB (maybe 4 on some systems) Regards Nicolas On 30/08/2011 03:33, Aleksey Tsalolikhin wrote: > Thanks, Paul. > > And somebody'

CFEngine Help: cf_classes.tcdb corrupt?

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: cf_classes.tcdb corrupt? Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,23268,23268#msg-23268 running cf-agent gives me this error (10 times or more) !! tchdbput: Could not write key to DB "/var/cfengine/cf_classes.tcdb": invalid record heade

CFEngine Help: Understanding CF's log

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Understanding CF's log Author: marc Link to topic: https://cfengine.com/forum/read.php?3,23269,23269#msg-23269 Hi List I have just started putting machines into productions using CFengine, and all is good. My promises is been keept and works. Now I what to follow

Re: CFEngine Help: cf_classes.tcdb corrupt?

2011-08-30 Thread Mikhail Gusarov
On 30.08.2011 10:41, no-re...@cfengine.com wrote: > Could it be that the DB became corrupted, and how can I solve it? Could be. Just remove it and it will be re-created. -- Mikhail Gusarov ___ Help-cfengine mailing list Help-cfengine@cfengine.org htt

CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Understanding CF's log Author: marc Link to topic: https://cfengine.com/forum/read.php?3,23269,23271#msg-23271 Well figured some of it out. The "version (not specified)" was because I did not have a version number in me failsafe.cf. That has been fixed now. Al

Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Bas van der Vlies
> > Is it best practice to run cf-agent from the executor like this: > > exec_command => "$(sys.workdir)/bin/cf-agent -f failsafe.cf&& > $(sys.workdir)/bin/cf-agent"; > This is good practice. I run this one slightingly different: {{{ debian:: cfruncommand => "/usr/sbin/cf-agent -f fai

Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Nick Anderson
On 08/30/2011 05:57 AM, Bas van der Vlies wrote: >> >> Is it best practice to run cf-agent from the executor like this: >> >> exec_command => "$(sys.workdir)/bin/cf-agent -f failsafe.cf&& >> $(sys.workdir)/bin/cf-agent"; Thats what I do. My failsafe is self contained. It has all body parts and

CFEngine Help: Cfengine 3.2.0 - congratulations

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Cfengine 3.2.0 - congratulations Author: jtl Link to topic: https://cfengine.com/forum/read.php?3,23274,23274#msg-23274 Just wanted to say we've been running cfengine 3.2.0 (community) here for several days now, and it appears to have fixed a number of problems that

Re: Is it safe to bump up editfilesize? How high?

2011-08-30 Thread Paul Krizak
This sounds like a bug...shouldn't the syntax parser prevent you from setting the value larger than an unsigned int? An arbitrary "9" or whatever isn't very useful. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 A

Re: Is it safe to bump up editfilesize? How high?

2011-08-30 Thread Mark Burgess
On 08/30/2011 06:21 PM, Paul Krizak wrote: > This sounds like a bug...shouldn't the syntax parser prevent you from > setting the value larger than an unsigned int? An arbitrary "9" > or whatever isn't very useful. > > Paul Krizak 7171 Southwest Pkwy MS B200.3A > MTS

Re: Is it safe to bump up editfilesize? How high?

2011-08-30 Thread Paul Krizak
Good point. Is it at least possible for cf-agent to notice when a value such as this (really any integer) overflows, and at least print a warning about it in the log? In fact, I'd actually prefer that it abort -- I'd rather cf-agent not do anything at all than to attempt to repair promises ba

CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Understanding CF's log Author: marc Link to topic: https://cfengine.com/forum/read.php?3,23272,23278#msg-23278 I have different "failsafe" and "update" promises. Me "failsafe" is a self containing promise that can be run, no matter which files

Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Nick Anderson
On 08/30/2011 12:05 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: Understanding CF's log > Author: marc > Link to topic: https://cfengine.com/forum/read.php?3,23272,23278#msg-23278 > > I have different "failsafe" and "update" promises. Me "failsafe" is a

CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log Author: marc Link to topic: https://cfengine.com/forum/read.php?3,23272,23280#msg-23280 If cf-agent runs into a syntax error preventing it from running. Would it not go to failsafe? ___

Re: CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Nick Anderson
On 08/30/2011 12:20 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log > Author: marc > Link to topic: https://cfengine.com/forum/read.php?3,23272,23280#msg-23280 > > If cf-agent runs into a syntax error preventing it

Re: CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Nicolas Charles
On 30/08/2011 19:21, Nick Anderson wrote: > On 08/30/2011 12:20 PM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: Re: CFEngine Help: Re: CFEngine Help: Re: Understanding CF's log >> Author: marc >> Link to topic: https://cfengine.com/forum/read.php?3,23272,23280#msg-23280 >> >> I

Re: CFEngine Help: Re: Why does CFEngine 3.2.0 consider running a process_stop command as a promise kept?

2011-08-30 Thread Aleksey Tsalolikhin
Did not hear from anybody at CFEngine yet. Could you please clarify why CFEngine considers running the process_stop command "/etc/init.d/service stop" a promise kept rather than as a promise repaired? Here is the promise: process: "regex" process_stop => "/etc/init.d/service stop"; cf-age

Re: CFEngine Help: Re: Why does CFEngine 3.2.0 consider running a process_stop command as a promise kept?

2011-08-30 Thread Mark Burgess
Aleksey, I don't know. It sounds wrong. Would you please report in on the bug tracker so we can look into it. Don't have time to look into this right now. thanks alot On 08/30/2011 09:16 PM, Aleksey Tsalolikhin wrote: > Did not hear from anybody at CFEngine yet. > > Could you please clarify why

Re: CFEngine Help: Re: Why does CFEngine 3.2.0 consider running a process_stop command as a promise kept?

2011-08-30 Thread Aleksey Tsalolikhin
Dear Mark: Thank you for the quick reply, sir. I've opened bug 758. Dear toddnni: Thanks for the process_count workaround, sir. Dear Neil: Thanks for your answer as well, sir. Yours fondly, Aleksey ___ Help-cfengine mailing list Help-cfengine@cfengi

CFEngine Help: Re: New features of CFEngine 3.2.0

2011-08-30 Thread no-reply
Forum: CFEngine Help Subject: Re: New features of CFEngine 3.2.0 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,23247,23286#msg-23286 This is great information Eystein, thank you for writing it. It should be incorporated into the official CFEngine documentation! __