Neil, You may recall from our previous discussion about this and the testing I did (with the nodename file example, my email from 2/5 at 11:27 AM MST) that Cfengine doesn't appear to work that way.
Thanks for the suggestions. I'll look into them and report back on the results. Justin -----Original Message----- From: nwat...@symcor.com [mailto:nwat...@symcor.com] Sent: Thursday, February 11, 2010 9:28 AM To: Justin Lloyd Cc: help-cfengine@cfengine.org; help-cfengine-boun...@cfengine.org Subject: RE: Deleting lines from a files that don't match a list I was under the impression that when editing files Cf3 can be made to apply all edits to a copy in memory and then only update the target file if the result was a change. It might be worth more testing. Other options are use a template with expand_scalars or writing a module with your favourite regex language. Reference: https://cfengine.org/pipermail/help-cfengine/2009-November/006635.html Sincerely, -- Neil Watson 416-673-3465 This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine