Forum: Cfengine Help
Subject: Re: How to reset hostsseeen?
Author: hristob
Link to topic: https://cfengine.com/forum/read.php?3,18860,19061#msg-19061

Strange....

after I erased the file (cf_LastSeen.db)I get following error:


!! Duplicate selection of value for variable "notmyhosts" in scope test123



here is the listing:
body common control

{
bundlesequence  => { "test123" } ;
}

bundle agent test123


{
vars:

  "notmyhosts" slist => { hostsseen("1","notseen","address") };
  "myhosts" slist => { hostsseen("1","lastseen","address") };

reports:

  cfengine_3::

    "Not Found client/peer: $(notmyhosts)";
    "Found client/peer: $(myhosts)";

}


Am I doing something wrong?

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

Reply via email to