This change is meant to replace distribution_release, not version!

This commit is contained in:
gservat 2013-12-06 07:53:39 +11:00
parent a8c9e2afd1
commit 38ec5b0058

View file

@ -327,7 +327,7 @@ class Facts(object):
self.facts['distribution_release'] = ora_prefix + data
elif name == 'SuSE':
data = get_file_content(path).splitlines()
self.facts['distribution_version'] = data[2].split('=')[1].strip()
self.facts['distribution_release'] = data[2].split('=')[1].strip()
else:
self.facts['distribution'] = name