help-cfengine
[Top][All Lists]
Advanced

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

Re: Bug in BeginGroupIfLineContaining?


From: Michael Kingsbury
Subject: Re: Bug in BeginGroupIfLineContaining?
Date: Tue, 24 Jan 2006 00:23:31 -0500

Close....  it was added in .18...

-mike



On 1/23/06, Atom Powers <atom.powers@gmail.com> wrote:
> cfengine 2.1.17
> It's in the docs all right, but it doesn't work for me either.
> --
> Manually overidden relative path (./test.cf)
> Looking for an input file ./test.cf
> cf:cfengine::./test.cf:10: Unknown edit action "BeginGroupIfLineContaining"
> cf:cfengine::./test.cf:12: EndGroup without Begin
> cf:cfengine::./test.cf:13: Editfiles Begin/End mismatch before or at line
> Finished with ./test.cf
> --
>
> On 1/23/06, Michael Kingsbury <mk@beakerware.net> wrote:
> > (Hmm, Let's try that again. )
> >
> > Stated back in '04 on the list, the ^ is implied, and I've used that
> > construct before successfully, so I don't think that's the problem.
> > Even with that change, I still get the error (which appears to be more
> > of an initial parsing problem of the config file).
> >
> > thanks,
> > -mike
> >
> > On 1/23/06, Michael Kingsbury <mk@beakerware.net> wrote:
> > > On 1/23/06, Atom Powers <atom.powers@gmail.com> wrote:
> > > > On 1/23/06, Michael Kingsbury <mk@beakerware.net> wrote:
> > > > >         LocateLineMatching  "passwd:.*"
> > > > > --
> > > > > -mike
> > > > >
> > > >
> > > > I don't think this will ever match. If I recall, matching is very 
> > > > explicit.
> > > > Try putting the start-of-line character in there.
> > > >
> > > > LocateLineMatching "^passwd:.*"
> > > >
> > > > --
> > > > --
> > > > Perfection is just a word I use occasionally with mustard.
> > > > --Atom Powers--
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > -mike
> > >
> >
> >
> > --
> > -mike
> >
>
>
> --
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>
>
>


--
-mike




reply via email to

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