blacks wrote: > Software products make more sense if you can match all versions of their > name. Otherwise, when I perform an update I'll have to add a bunch of "new" > ProductKeys to get the manufacturer mapped properly.
Okay. After checking out some of the Unknown product keys that shipped with Zenoss 2.2, I noticed that version numbers are not always present. There seem to be a bunch of Sun packages which contain no version numbers. Though it appears the RedHat packages use a goofy '-' name/version separator that makes it impossible to use wildcards and match *just* product names. A match of 'postfix-' matches not only postfix-$VER, but also 'postfix-$OPTION-$VER'. I suspect this logic (and the unfortunate fact that RH and their RPM file-format) may have played a part in Zenoss product keys being simple fixed strings. They were actually avoiding a problem, due to the (IMO buggy) distribution the developers were using. Since including versions in the product keys isn't a standard feature for software Product Keys, I can manage what I want by simply not appending the product version when I'm creating the product key from the package information. Of course, now I'll have no version information related to the software products, but I've a separate ticket about adding that... Cheers, Steven Black -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=21528#21528 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
