Forum: Cfengine Help
Subject: Re: errors when defining classes based on built-in functions
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,21286,21287#msg-21287

This has to do with the static order of agent operations.  
http://www.cfengine.org/manuals/cf3-reference.html#Normal-ordering

Vars are defined before classes, so your test_var is not being defined because 
the class was not defined yet.  Its a little confusing because you can list 
promise types however you want in the bundle, but that doesn't mean they get 
executed in that order.

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

Reply via email to