Forum: CFEngine Help
Subject: error in mail, difference when running cf-agent manualy
Author: tuibelgium
Link to topic: https://cfengine.com/forum/read.php?3,23228,23228#msg-23228

In my mail I get this message 5 times in each mail:

Apparent body "immediate()" was undeclared, but used in a promise near line 35 
of /var/cfengine/inputs/update.cf (possible unquoted literal value)

When I run cf-agent -K no error appears and the update works fine. 

This is in update.cf
  
33  "/var/cfengine/inputs"
34
35      perms => u_p("600"),
36      copy_from => mycopy("$(master_location)","myserver"),
37      depth_search => recurse("inf"),
38      action => immediate;

When I add a body "immediate" and run cf-agent it complains that "immediate" is 
already defined in cfenfine_stdlib.cf

What is the difference?

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

Reply via email to