Forum: CFEngine Help
Subject: Executes only by hand
Author: tjavo87
Link to topic: https://cfengine.com/forum/read.php?3,25888,25888#msg-25888
Hi All,
I'm running cfengine-community-3.3.0-1.el6 on rhel 6 servers. I created a
promise to update cfengine-community to 3.3.1.1-1.
The packages part:
packages:
redhat_6::
"$(match_package)"
package_policy => "addupdate",
package_select => ">=",
package_architectures => { "x86_64" },
package_version => "3.3.1-1.el6",
package_method => yum,
classes => if_repaired("restart_cfengine");
The cliƫnt gets the promise file from the policy server (placed in
/var/cfengine/inputs). The strange behavior is that the promise is not executed
automatically by cf-execd.
When running cf-agent -vf ./promises.cf by hand the promise is executed without
a problem.
What could be the problem of this issue?
CFengine is running without errors;
May 11 09:05:56 client cf3[20238]: R: Fri May 11 09:05:56 2012 --> CFE is
running on client
May 11 09:11:06 client cf3[20293]: R: Fri May 11 09:11:06 2012 --> CFE is
running on client
May 11 09:15:56 client cf3[20348]: R: Fri May 11 09:15:56 2012 --> CFE is
running on client
The command cf-promises -vf ./promises output is ; inputs are valid. The file
is included in the list.
How can I troubleshoot this issue?
Thanx and Regards
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine