Commit 5d729edd by Brian Coca

Merge pull request #9458 from sthen/openbsd_arch

set CPU architecture correctly for OpenBSD (powerpc not macppc, etc.)
parents 9f83af51 41987237
......@@ -174,6 +174,8 @@ class Facts(object):
rc, out, err = module.run_command("/usr/sbin/bootinfo -p")
data = out.split('\n')
self.facts['architecture'] = data[0]
elif self.facts['system'] == 'OpenBSD':
self.facts['architecture'] = platform.uname()[5]
def get_local_facts(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment