#
# Editfiles test
#

control:

 actionsequence = ( editfiles )


editfiles:

 { /tmp/cftest1

 AutoCreate
 AppendIfNoSuchLine "Test string"
 }

 { /tmp/cftest2

 AutoCreate
 AppendIfNoSuchLine "	## CFENGINE MARKER ##"
 LocateLineMatching "	## CFENGINE MARKER ##"
 InsertLine "	root@NewMachineName"
 }