1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'.

This commit is contained in:
Chris Gardner 2013-05-30 08:51:03 +01:00
parent f482649cbb
commit 2b71ab6765

View file

@ -665,7 +665,7 @@ class SunOSHardware(Hardware):
data = line.split(None, 1)
key = data[0].strip()
# "brand" works on Solaris 10 & 11. "implementation" for Solaris 9.
if key == 'module':
if key == 'module:':
brand = ''
elif key == 'brand':
brand = data[1].strip()