This change is meant to replace distribution_release, not version!

reviewable/pr18780/r1
gservat 11 years ago
parent a8c9e2afd1
commit 38ec5b0058

@ -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[2].split('=')[1].strip() self.facts['distribution_release'] = data[2].split('=')[1].strip()
else: else:
self.facts['distribution'] = name self.facts['distribution'] = name

Loading…
Cancel
Save