Forum: Cfengine Help Subject: depth_search rmdeadlinks behaviuor Author: aloga Link to topic: https://cfengine.com/forum/read.php?3,19492,19492#msg-19492
Hello there, I'm trying to set up a bundle that cleans up broken symlinks from a given directory. From the CFengine documentation, I guess I have to use the "rmdeadlinks" option from the "depth_search" body (maybe I misinterpreted the documentation) as follows: bundle agent cleanup_broken_links { files: "/tmp/test" depth_search => rmdead; } body depth_search rmdead { include_basedir => "true"; depth => "inf"; rmdeadlinks => "on"; } However, this bundle does absolutely nothing. Anyone can throw some light on it? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine