On 03/16/2012 09:41 AM, Marco Marongiu wrote: > 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 ;)
What is so different about it? -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine