Per the documentation, lastseen is supposed to belong in body agent control if you want to enable it.
http://www.cfengine.org/manuals/cf3-reference.html#lastseen-in-reports So, I did. In my promises.cf, I’ve got the following: body agent control { ... .... lastseen => "true"; } When this executes on the client, I get this: $ /var/cfengine/bin/cf-agent -I -K cf3:/var/cfengine/inputs/promises.cf:426,20: Constraint lvalue "lastseen" is not allowed in 'agent' constraint body, near token 'true"' cf-agent was not able to get confirmation of promises from cf-promises, so going to failsafe Am I doing something wrong, or is this a known bug? $ /var/cfengine/bin/cf-agent --version This comprises cf-agent core community version 3.1.1 - Copyright Copyright (C) Cfengine AS 2008,2010- In the documentation, it states that See also in reports: reports: "Comment" lastseen => "10"; Where am I putting this “reports” promise? In body agent control? If someone could show me a working lastseen example, and if the documentation could be updated with a correct implementation, that would be great. Thanks MIke
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine