Thats part of my promises.cf to copy the cfengine folder to a client.
But when i start cf-agent it copies only the folder without the files
inside.


 body depth_search recurse
{
 depth => "inf";
 }


bundle agent test {
files:
        "/tmp/cfengine"
                copy_from => mycopy("/tmp/cfengine","192.168.78.50"),
                depth_search => recurse("inf");
}

The cf-agent gives me following output:

body "recurse()" was undeclared, but used in a promise near line 29 of
/var/cfengine/inputs/promises.cf
body "recurse()" was undeclared, but used in a promise near line 29 of
/var/cfengine/inputs/promises.cf
R: Hello, world
body "recurse()" was undeclared, but used in a promise near line 29 of
/var/cfengine/inputs/promises.cf
body "recurse()" was undeclared, but used in a promise near line 29 of
/var/cfengine/inputs/promises.cf
body "recurse()" was undeclared, but used in a promise near line 29 of
/var/cfengine/inputs/promises.cf

But i think i have declared the body recurse.

-- 
Christian Seifert

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to