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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > On 1/23/06, Atom Powers <[EMAIL PROTECTED]> wrote: > > > On 1/23/06, Michael Kingsbury <[EMAIL PROTECTED]> 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-- _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine