On 22-11-10 22:30, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: depth_search exclude files in tripwire changes > Author: steve > Link to topic: https://cfengine.com/forum/read.php?3,19372,19372#msg-19372 > > Hi Everybody, > > I have recently configured a cfengine3 (community) server with some linux > clients I am running a tripwire on the /etc/ directory to get alerted to any > files that might get changed, added or deleted, but one thing which I find > noisy on the reports is /etc/adjtime is regularly changed for time sync. > > I see the exclude_dirs directive as part of depth_search, but I see no easy > way to just exclude a file, any ideas ? > > Thanks, > ~ Steve >
Steve, Just use the ex_list defined in COPBL * file_select => ex_list("@(exclude_file)"), example "exclude_file" slist => { "config", "mom.lock" }; -- ******************************************************************** * Bas van der Vlies e-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ******************************************************************** _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine