Il 16/03/2012 15:42, Nick Anderson ha scritto: >> > Your approach is not exactly equivalent to having a classes attribute in >> > vars, but I made it do ;) > What is so different about it?
The difference is that with a classes attribute, the class is set immediately, and would affect subsequent promises in vars in the same pass. Having to set the "has_shortname" class in "classes:" means that you have to wait the following pass to have other vars set based on that class. Other than that, it's quite similar. But not identical. Ciao! -- bronto _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine