Hello,
My issue is that my cfengine clients doesn't update the promises from hub.
My hub information
[root@hub ~]# rpm -qa|grep cfeng
cfengine-community-3.5.3-1.x86_64
cf-promises -c run smoothly.
A example promise
[root@hub masterfiles]# ls -lah
edit_motd.cf -rw-r--r-- 1 root root 2.1K Aug 12 18:54
edit_motd.cf
[root@hub masterfiles]# cat
edit_motd.cf bundle agent edit_motd
{
vars:
"motd" string => "/etc/motd";
files:
"$(motd)"
create => "true",
edit_defaults => empty,
edit_line => addmessage;
reports:
cfengine::
"Cfengine Running: MOTD Promise";
}
bundle edit_line addmessage
{
insert_lines:
prod::
"Welcome to $(sys.fqhost)!
This system is managed by O_O.
The policy was last updated on $(sys.last_policy_update)";
}
On the client
[root@client inputs]# rpm -qa|grep cf
cfengine-community-3.5.3-1.x86_64
[root@client inputs]# pwd
/var/cfengine/inputs
[root@client inputs]# ls -lah
edit_motd.cf
-rw------- 1 root root 735 Oct 29 2013
edit_motd.cfIt only updates
edit_motd.cf if I bootstrap the client again, and this behaviour is very random and annoying.
Any ideas what is causing this or how I can debug this ? If you need more information please let me know.