Set distribution, release, and version for NetBSD.

pull/10757/head
Jeff Rizzo 10 years ago
parent fa1eff8356
commit 5c64956a7e

@ -270,6 +270,10 @@ class Facts(object):
self.facts['distribution'] = 'FreeBSD' self.facts['distribution'] = 'FreeBSD'
self.facts['distribution_release'] = platform.release() self.facts['distribution_release'] = platform.release()
self.facts['distribution_version'] = platform.version() self.facts['distribution_version'] = platform.version()
elif self.facts['system'] == 'NetBSD':
self.facts['distribution'] = 'NetBSD'
self.facts['distribution_release'] = platform.release()
self.facts['distribution_version'] = platform.version()
elif self.facts['system'] == 'OpenBSD': elif self.facts['system'] == 'OpenBSD':
self.facts['distribution'] = 'OpenBSD' self.facts['distribution'] = 'OpenBSD'
self.facts['distribution_release'] = platform.release() self.facts['distribution_release'] = platform.release()

Loading…
Cancel
Save