help-cfengine
[Top][All Lists]
Advanced

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

Re: perl parsing of cf.groups file


From: Ted Zlatanov
Subject: Re: perl parsing of cf.groups file
Date: Thu, 20 Nov 2003 11:06:40 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v)

On Thu, 20 Nov 2003, Eric.Doutreleau@int-evry.fr wrote:

> i'm wondering if someone have already wrote a perl parser for a
> cf.groups file.

cfperl does it:

http://lifelogs.com/cfperl/

it uses Parse::RecDescent.

> Indeed i would to make a script to generate the kickstart file for
> a bunches of machine.
> 
> theses machines are already organised in groups in the cf.groups and
> theses groups are relevant for the kickstart file.
> 
> right now these information is duplicated in another configuration 
> file used by my script mkkickstart.
> i would like to put it in the cf.groups file.

You may be able to use the perledit section of cfperl:

http://lifelogs.com/cfperl/manual.html#The%20perledit%20section

to do the job.  If a new section is needed, I'm open to suggestions.

Thanks
Ted




reply via email to

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