Forum: CFEngine Help
Subject: Retro CF2 question about purge and ignore
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26872,26872#msg-26872

This CF2 question was presented to me today.  If the purge option is set in a 
copy action, is the ignore clause supposed to prevent files described in the 
ignore clause from being deleted?

It's been a while but, I recall that there was always confusion about purge, 
exclude and ignore.  The CF2 Reference guide indicates that ignore works as I 
described above.  However, in testing files are show to have been purged.

CF2 Ref: 
"If the purge option is used in copying, then the ignore option has the effect 
of the excluding files from the purge, i.e. ignore means `keep' the named 
files."

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

Reply via email to