help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting $(allclasses) into a shellcommand


From: Mark . Burgess
Subject: Re: Getting $(allclasses) into a shellcommand
Date: Mon, 19 Jul 2004 23:39:54 +0200 (MEST)

The natural thing to do is to rewrite the file at the start of each
action module, just when the summary is printed in verbose mode.

M

On 19 Jul, Ted Zlatanov wrote:
> On Mon, 19 Jul 2004, jwheeler@eb.com wrote:
> 
>>> Very useful for debugging.  Having an 'official' file would be quite
>>> handy,
>>> although it would have to be written to synchronously (so that
>>> shellcommands,
>>> modules, etc can use it to read the current state).
>>> 
>>> 
>> could another db be kept that stored these, then another program
>> (possibly cfagent with another command switch) could read write these?
> 
> This has to be done per cfagent run, not globally, because the list
> of defined classes changes with each cfagent run.  So you can't do it
> externally, it has to be passed somehow to programs spawned by cfagent.
> 
> Ted



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]