s/nexentaStor/Nexenta/
This commit is contained in:
parent
04635333d0
commit
5354df8643
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue