Forum: Cfengine Help
Subject: Re: Limiting recursion into certain directories / filesystems
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21058,21059#msg-21059
‘exclude_dirs’
Type: slist
Allowed input range: .*
Synopsis: List of regexes of directory names NOT to include in depth search
Example:
body depth_search example
{
# no dot directories
exclude_dirs => { "\..*" };
}
Notes:
Directory names are treated specially when searching recursively through a
file system.
http://www.cfengine.org/manuals/cf3-reference.html#depth_005fsearch-in-files
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine