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: 16 Jul 2004 14:23:17 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Fri, 16 Jul 2004, tzz@lifelogs.com wrote:

On Thu, 15 Jul 2004, chip@trdlnk.com wrote:
> 
>> I have some truly enormous $(allclasses) strings as a result of using 
>> cfengine
>> to maintain my RPM distributions.  (If you define one 15-to-25 character 
>> class for every RPM you need installed, and you need a few hundred RPMs 
>> right 
>> after a clean kickstart....)
>> 
>> Anyway, I am having issues passing these large lists of classes into the perl
>> script that does the actual RPM installation.   Mark enlarged a buffer 
>> somewheres when I had this problem earlier, but said buffer has been 
>> outgrown...    I'd like to find a Proper Solution to this.
>> 
>> What is a better way than "/some/command $(allclasses)" for doing this sort 
>> of
>> thing?  Is there some kind of iterator-type trick  anybody knows?
> 
> Why not put it all in a text file with editfiles:, then parse that
> with Perl?

Resending because of mailing list problems...

Oh, and of course you don't have to use Perl :)

Ted




reply via email to

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