Oops... fixed an error
This commit is contained in:
parent
13da2c3ac9
commit
83f35a63dd
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ class Facts(object):
|
||||||
self.facts['distribution_release'] = ora_prefix + data
|
self.facts['distribution_release'] = ora_prefix + data
|
||||||
elif name == 'SuSE':
|
elif name == 'SuSE':
|
||||||
data = get_file_content(path).splitlines()
|
data = get_file_content(path).splitlines()
|
||||||
self.facts['distribution_version'] = data.split[2].split('=')[1].strip()
|
self.facts['distribution_version'] = data[2].split('=')[1].strip()
|
||||||
else:
|
else:
|
||||||
self.facts['distribution'] = name
|
self.facts['distribution'] = name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue