Forum: CFEngine Help Subject: Re: Anomoly in files changes => detect_content on NFS mounted data Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,24414,24449#msg-24449
Change detection is related to files not directories. You should either use regex or file_select body to match up the files you want. To exclude a directory from depth_search, you might need to create your own body to include "exclude_dirs" to the body; http://www.cfengine.com/manuals/cf3-reference.html#depth_005fsearch-in-files or possibly using body depth_search recurse_ignore(d,list) from cfengine_stdlib.cf files: "/data1 changes => detect_content, action => background, file_select => plain, # from cfengine_stdlib.cf depth_search => recurse_ignore("inf",".snapshot"); # from cfengine_stdlib.cf } Cheers, --Nakarin _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine