On 5/19/11 2:58 PM, Scott Dobner wrote:
> Hi,
> I am trying to manage a webserver using CFEngine, and one of the
> problems I have run into is that I cannot seem to find a way to delete a
> file automatically when I remove it from the server.  Is there some kind
> of attribute of a file promise that checks if a file is present on the
> server and then deletes it if it is deleted from the server?
>  
Yup, you can define

body copy_from example {
     purge => "true";
}

-- 
Sjoerd Oostdijck                  RIPE Network Coordination Centre
RIPE NCC, IT Department                  Singel 258, Amsterdam, NL
http://www.ripe.net                                +31 20 535 4444

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to