Hi Seva,

this sounds pretty silly, so I'm going to blame someone else for this ;-)
Can you show the original promise that generated the error please?

Seva Gluschenko wrote:
> Hello folks,
> 
> When I wrote a promise to rotate /var/cfengine/promise.log (BTW, why
> Cfengine doesn't rotate it?), cf-promises warned me about using rename
> body without depth_search body. Well, okay, despite I was surprised
> with such a requirement, I've added depth_search => recursion("1").
> Now (with 3.0.5b2), executor sends me messages with the following
> warning:
> 
> Warning: depth_search (recursion) is promised for a base object
> /var/cfengine/promise.log that is not a directory
> 
> So how do I get rid of warnings? Can depth_search be removed now or so?
> 

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to