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

s/nexentaStor/Nexenta/

This commit is contained in:
Toshio Kuratomi 2015-01-07 15:18:52 -08:00
parent 04635333d0
commit 5354df8643

View file

@ -330,9 +330,9 @@ class Facts(object):
elif 'OmniOS' in data:
self.facts['distribution'] = 'OmniOS'
elif uname_rc == 0 and 'NexentaOS_' in uname_out:
self.facts['distribution'] = 'NexentaStor'
self.facts['distribution'] = 'Nexenta'
if self.fact['distribution'] in ('SmartOS', 'OpenIndiana', 'OmniOS', 'NexentaStor'):
if self.fact['distribution'] in ('SmartOS', 'OpenIndiana', 'OmniOS', 'Nexenta'):
self.facts['distribution_release'] = data.strip()
if uname_rc == 0:
self.facts['distribution_version'] = uname_out.split('\n')[0].strip()