Forum: CFEngine Help
Subject: Re: bug? ifvarclass in reports after any::
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,23005,23109#msg-23109

I tried 3.2.0 beta 3 and it's is great. It fixed some issues I have recently 
faced.

However some of my reports disappeared and I took time to figure out the 
problem. In verbose mode there are unnoticeable notices

cf3>  --> Reports promises may not be in class "any"

Quite annoying. I thought that it would warn loudly about it as Aleksey wrote.

I think that there is nothing wrong to have a promise like this

reports:
  any::
    "verify_packages: Package $(name) installed/updated"
      ifvarclass => "$(name)_installed";

because it isn't actually in class "any".

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to