Mark, Anything you can provide to clear up how that works would be great, no matter how long it takes you to respond. :)
In the interim, while I'm going to start deploying today and tomorrow, I'll play around with this issue some more to see if I can actually get it to work the way I want. Thanks, Justin -----Original Message----- From: Mark Burgess [mailto:mark.burg...@iu.hio.no] Sent: Thursday, February 11, 2010 9:57 AM To: Justin Lloyd Cc: nwat...@symcor.com; help-cfengine@cfengine.org; help-cfengine-boun...@cfengine.org Subject: Re: Deleting lines from a files that don't match a list Cfengine does indeed work that way, but it is possible that it reports differently in promises repaired. I have not had time to reply carefully to this, but I will try to do so if you are willing to wait. M Justin Lloyd wrote: > 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 -- Mark Burgess ------------------------------------------------- Professor of Network and System Administration Oslo University College, Norway Personal Web: http://www.iu.hio.no/~mark Office Telf : +47 22453272 ------------------------------------------------- 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