Re: Promises are not being kept

2010-01-20 Thread NWatson
Has the agent been told to import the file 'cf.syslog-ng'? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intend

Re: ifelapsed and locking

2010-01-20 Thread Mark Burgess
Once a promise has been "repaired" it is not executed again. It has converged. The promise has been kept. The three passes are to ensure that promises that are activated by the completion of others will be picked up. This is not a substitute for a scheduling policy. nwat...@symcor.com wrote:

ifelapsed and locking

2010-01-20 Thread NWatson
Please consider this test. body common control { bundlesequence => { "test" }; } bundle common g{ classes: "all" expression => "any"; } bundle agent test { commands: any:: "/bin/echo \'hello world\'", action => immediate; } body action imm

Re: Promises are not being kept

2010-01-20 Thread NWatson
If you are new to cfengine and not inheriting an existing install then you should be studying version 3. It is the future. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain propr

Re: recording cfengine execution time

2010-01-20 Thread Mark Burgess
Execution time is a standard value in the performance report in cfengine 3. M Guillaume Rousse wrote: > Le 19/01/2010 18:33, Tim Cutts a écrit : >> On 19 Jan 2010, at 4:19 pm, Guillaume Rousse wrote: >> >>> Hello list. >>> >>> I'm trying to keep track of cfengine execution time, in order to moni

Re: recording cfengine execution time

2010-01-20 Thread Guillaume Rousse
Le 19/01/2010 18:33, Tim Cutts a écrit : > > On 19 Jan 2010, at 4:19 pm, Guillaume Rousse wrote: > >> Hello list. >> >> I'm trying to keep track of cfengine execution time, in order to monitor >> policy changes effect. >> >> The easiest way seems to add start/stop messages in the logs. >> >> If inv

Re: solaris and LD_LIBRARY_PATH

2010-01-20 Thread Nicolas Courtel
nwat...@symcor.com a écrit : > I've compiled cfengine on solaris with some libs in a custom location. > When I run cf it fails unless I set LD_LIBRARY_PATH to point to the custom > > libs. Is there a way to build the cf binaries with a built in default > library search path? > You can do so