[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 21:42:01 +0200 (MEST) |
Cfengine could easily cache the classes in an easily readble file format
M
On 19 Jul, Chip Seraphine wrote:
> The problem is doing the writing. Unless I do something expensive involving
> an iterator, I can't get the class list into the file at all (even with
> editfiles).
>
> On Monday 19 July 2004 14:09, Ted Zlatanov wrote:
>> How about writing the list of classes into $cfinputs/classes.$$ where
>> $$ is the PID of the cfagent run? This can be passed as a variable
>> to spawned processes thereafter (CFCLASSFILE, for example). It's a
>> temporary file but harmless if it's left around.
>>
>> I can think of other solutions involving IPC but those are uglier by
>> far.
>>
>> Ted
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Re: Getting $(allclasses) into a shellcommand, (continued)
- Message not available
- Re: Getting $(allclasses) into a shellcommand, Ted Zlatanov, 2004/07/16
- Re: Getting $(allclasses) into a shellcommand, Chip Seraphine, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, Mark . Burgess, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, Ted Zlatanov, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, Chip Seraphine, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand,
Mark . Burgess <=
- Re: Getting $(allclasses) into a shellcommand, Chip Seraphine, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, Russell Adams, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, Chip Seraphine, 2004/07/19
- Re: Getting $(allclasses) into a shellcommand, John Borwick, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, Ted Zlatanov, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, Ed Brown, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, John Sechrest, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, Ted Zlatanov, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, Chip Seraphine, 2004/07/20
- Re: Getting $(allclasses) into a shellcommand, Ed Brown, 2004/07/20