This was a patch that I took on faith. Feel free to correct. Jim Wight wrote: > I'm trying out 2.2.3 (from the SVN repository) and happened to notice > that the classes Fedora and Fedora_release are no longer getting defined > on my Fedora 7 system, compared with 2.2.1. > > I've tracked this down to a rewrite of VM_version in misc.c. VM_version > is getting called by IDClasses because /etc/vmware exists (I have VMware > Server installed). 2.2.1 defines Fedora_release_7__Moonshine_, > Fedora_release_7, Fedora_release and Fedora from the first line > of /etc/issue, which is 'Fedora release 7 (Moonshine)'. 2.2.3 only > defines the first two of these. > > I'm not directly affected, because I don't make use of these classes, > but backwards compatibility has been broken. > > Even so, it's not clear to me why IDClasses should be checking for > classes relating to VMware at all when the type of system has already > been established - especially when it comes up with classes that clearly > have nothing to do with VMware. > > Jim > > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/bug-cfengine
-- Mark Burgess Web: http://www.iu.hio.no/~mark Tlf: +47 22453272 _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
