Forum: CFEngine Help
Subject: Re: editfiles question
Author: jblaine
Link to topic: https://cfengine.com/forum/read.php?3,23396,23420#msg-23420

This works (both) fine for me in 2.1.6, FWIW:

editfiles:
        myclass::
            { /tmp/testfile
            DeleteLinesMatching "bar"
            }
        otherclass::
            { /tmp/testfile
            AppendIfNoSuchLine "foo"
            }

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to