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: elif 'OmniOS' in data:
self.facts['distribution'] = 'OmniOS' self.facts['distribution'] = 'OmniOS'
elif uname_rc == 0 and 'NexentaOS_' in uname_out: 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() self.facts['distribution_release'] = data.strip()
if uname_rc == 0: if uname_rc == 0:
self.facts['distribution_version'] = uname_out.split('\n')[0].strip() self.facts['distribution_version'] = uname_out.split('\n')[0].strip()