> Is it  something that I miss or things are not working the way the 
> documentation says?
>

Were I to hazard a guess I'd say it has to do with cfengine's normal 
ordering.  See section 2.8.1 in the manual.  Specifically, "In general 
it is wise to avoid class-variable dependency as much as possible."  
cf3's ordering is vars, classes, outputs... and so on.  Since you define 
a var within a class context it's my guess that cf3 is just skipping 
over that declaration as the "test_class" class hasn't been defined 
yet.  Try removing "test_class::" from the vars section and see what 
happens.  I think if you also use predefined hard classes (e.g., 
"linux::") you'll find the var is properly declared.

Frans

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

Reply via email to