[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Inline macros or plugin
From: |
Mark |
Subject: |
RE: Inline macros or plugin |
Date: |
Mon, 23 Aug 2004 11:24:37 -0700 |
Yeah, that's the only thing I had come up with so far...
Generate the cfengine conf file - or parts of it that I then import...
Thanks,
MARK
> -----Original Message-----
> From: Chip Seraphine [mailto:chip@trdlnk.com]
> Sent: Monday, August 23, 2004 11:14 AM
> To: Mark; help-cfengine@gnu.org
> Subject: Re: Inline macros or plugin
>
>
> On Monday 23 August 2004 12:47, Mark wrote:
> > Chip, thanks for the email...
> >
> > Unfortunately, both ways won't work. The destination is different.
> > Also, the second thing won't work because I have several
> classes that are
> > true in the same run, so the last class that evaluates to true will
> > overwrite the variable for all other classes before...
> >
> > Thanks,
>
> Ugh.
>
> I've got a couple problems like that myself, and I had to
> approach them the
> way Lyndon did-- use a script (m4 template, really) to spit
> out a file, the
> import the file. Cfengine really isn't a procedural
> language, so there isn't
> a very tidy way to handle that.
>
> My kingdom for a cfengine version of GNU Make's $(patsubst,,)
> function!
>
> --
>
> Chip Seraphine
> Unix Administrator
> TradeLink, LLC
> 312-264-2048
> chip@trdlnk.com
>