So the following section in editfiles always results in the EndGroup
error below.  I fear either there's a bug, or I'm mis-interpreting the
docs, as I think this should work:


        redhat.!NIS::
        {   /raid1/home/mk/testcf/testnis
        ###  Password
        LocateLineMatching  "passwd:.*"
        BeginGroupIfLineContaining "nis"
           AppendToLineIfNotContains "blah blah blah"
        EndGroup

        }

>>Looking for an input file /home/mk/testcf/nonis.conf
>>cf:cfengine::/home/mk/testcf/nonis.conf:122: EndGroup without Begin
>>cf:cfengine::/home/mk/testcf/nonis.conf:124: Editfiles Begin/End
mismatch before or at line
>>Finished with /home/mk/testcf/nonis.conf



--
-mike


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to