Forum: CFEngine Help
Subject: Re: Arguement mismatch in update.cf
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,24886,24893#msg-24893
You are probably including cfengine_stdlib.cf in your policy. The stdlib has
already a depth_search body called "recurse", but which takes one argument:
body depth_search recurse(d)
{
depth => "$(d)";
xdev => "true";
}
Redefining a body is the main error. The secondary "argument mismatch" error
comes because you are trying to use it with a different number of arguments
than those in the first definition (from stdlib).
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine