> 1. mailto:help-cfengine+unsub...@googlegroups.com
Nicolas Ecarnot writes:
> Wow, thank you Neil for your answer.
> To me, that seems a pity we even have to deal with this. Too bad this is
> not managed by design.
The warning you are referring to is this:
warning: depth_search (recursion) is promised for a base object '/tmp/place/promises.cf' that is not a directory
Indeed, the agent does what you intend regardless if you ask for a file or a
directory, so the warning seems to be somewhat useless. Moving the warning to
DEBUG is pretty easy.
https://github.com/cfengine/core/pull/2767
I wonder why we are warning about it, maybe something from the past. Anyway PR
is up in case its truly only useful for deep debugging.
–
Nick Anderson
Doer of things, CFEngine