On Fri, Aug 5, 2011 at 11:52 AM,  <no-re...@cfengine.com> wrote:
> cf-agent stops in policy validation phase and outputs
>
> reports promises may not be in class 'any' - risk of a notification
> explosion, near token 'ifvarclass'

Recently (after 3.1.2, I think), cfengine was modified so that it would
not abort after this message.  it still prints the message, but still
executes the policy.  whereas 3.1.2 will print the message and quit.

I've also been known to comment out this warning in the source code
before teaching intro to Cfengine classes to reduce the number of
factors in play, so I can have a simple hello world promise

reports:  "hello world";

But then a couple of students ask, I tried this and got this error message,
what does this mean?  what's a class?  so there we go...  I've put in
a feature request for a run-time switch to control this behavior.   :-)

Best,
-at


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

Reply via email to