Jim Wight wrote:
> I was expecting classes to be global, like variables. Is it not possible to 
> do 
> what I am attempting in the commented-out statements in the following? I get 
> a 
> syntax error.
> 

> #   $(g.month1)::
> #      "$(g.mth1)";
> }
> 

You can't use variables like this in classes, but you can add

   ifvarclass => "$(g.month)"

and use canonify() to turn into strings into classes.

M
_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to