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: Ted Zlatanov
Subject: Re: Getting $(allclasses) into a shellcommand
Date: 19 Jul 2004 17:17:22 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

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




reply via email to

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