Is there a safe way to use the purge feature? I can see it being valuable for infrequent periodic use to clean up files that are removed from the masterfiles directory but then left in clients' inputs directories. (I've already been wanting something like this during my deploy testing.)
Justin -----Original Message----- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Erlend Leganger Sent: Monday, February 22, 2010 10:57 AM To: Help-cfengine Subject: Re: Who deletes all files in /var/cfengine/inputs? On 22 February 2010 17:25, Bryan Ramirez <rami...@besh.com> wrote: > I've run into this too.. and removing the purge option fixed it for me. > I'm not sure what the solution is, but it seems that we need another > check before a purge is actually done. I don't know what that would be > though, since I suspect that having the client send a list of files to > be purged to the server is a bad idea. > > Perhaps just another confirmation that the client got the complete list > of files that should be there from the server? > > -Bryan Thanks for the feedback, I'm optimistic now that the accidental purging will disappear. Then I can retire my cf3-client-refresh.sh script (which copies cf3 binaries and *.cf files into /var/cfengine and runs cf-agent -KI). - Erlend _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine 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