changed check to allow for powerpc

fixes #11528
pull/11764/head
Brian Coca 9 years ago
parent 0c21196633
commit 8746e692c1

@ -814,7 +814,7 @@ class LinuxHardware(Hardware):
# model name is for Intel arch, Processor (mind the uppercase P) # model name is for Intel arch, Processor (mind the uppercase P)
# works for some ARM devices, like the Sheevaplug. # works for some ARM devices, like the Sheevaplug.
if key == 'model name' or key == 'Processor' or key == 'vendor_id': if key in ['model name', 'Processor', 'vendor_id', 'cpu', 'Vendor']:
if 'processor' not in self.facts: if 'processor' not in self.facts:
self.facts['processor'] = [] self.facts['processor'] = []
self.facts['processor'].append(data[1].strip()) self.facts['processor'].append(data[1].strip())

Loading…
Cancel
Save