I just noticed that the rm_rf bundle in lib/bundles.cf is implemented by 
calling rm_rf_depth, which is documented here:

https://docs.cfengine.com/docs/3.12/reference-masterfiles-policy-framework-lib-bundles.html#rm_rf_depth

I am struggling to think of a use case for this.  Is there one?

The example has a depth of 100.  Is there ever a reason to call rm_rf_depth 
with a low finite depth?

What is the intended behavior if this bundle is called with depth 3, when 
the directory contains, say, 5 levels of nesting?  (The documentation says 
that it will remove "name" to depth "depth," including "name" itself.  How 
can it do this if there are additional levels of nesting underneath?)

Best,
--Mike Weilgart
Vertical Sysadmin, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"dev-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dev-cfengine/aa41c4ee-e896-4904-9726-d9bf15cd26d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to