edit_line is a "subroutine", do either
--
vars:
"lines" string =>
"
/scripts
/batch..
";
files:
"/etc/auto_direct"
comment => "Installing /batch and /scripts",
create => "true",
I view one edit line as one promise. Having multiple edit lines muddies
the promise water. You could try placing your lines in a list and have a
single promise process the list.
Complex example:
http://www.cfengine.org/manuals/cf3-solutions.html#Postfix-mail-configuration
Sincerely,
--
Neil Wa
Hello
I'm trying to add two lines into a file using the edit_line statement
My code looks as follows -
TestServers::
"/etc/auto_direct"
comment => "Installing /batch and /scripts",
create => "true",
edit_line => ap