Re: 3.0.1a3: global classes
Mark Burgess <[email protected]> Mon, 12 Jan 2009 18:18:13 +0100
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
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