Il 16/03/2012 15:16, Nick Anderson ha scritto: >>> classes: >>> >> "has_shortname" >>> >> expression => isvariable("shortname"), >>> >> comment => "Set a class if short hostname has been defined"; >> > >> > Nice hint, thanks, I'll use it :) > I am kind of surprised that having classes attribute on a vars promise > didn't complain.
...but it didn't, it just failed silently. Your approach is not exactly equivalent to having a classes attribute in vars, but I made it do ;) Thanks again -- bronto _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine