help-cfengine
[Top][All Lists]
Advanced

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

Re: Bug in BeginGroupIfLineContaining?


From: Atom Powers
Subject: Re: Bug in BeginGroupIfLineContaining?
Date: Mon, 23 Jan 2006 20:23:17 -0800

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 <address@hidden> 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 <address@hidden> wrote:
> > On 1/23/06, Atom Powers <address@hidden> wrote:
> > > On 1/23/06, Michael Kingsbury <address@hidden> 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--




reply via email to

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