Commit f485eb28 by Patrik Lundin

Teach setup about OpenBSD package manager.

* We cannot depend on the path because FreeBSD for example uses the same path.
parent eb6398f1
......@@ -245,6 +245,8 @@ class Facts(object):
for pkg in Facts.PKG_MGRS:
if os.path.exists(pkg['path']):
self.facts['pkg_mgr'] = pkg['name']
if self.facts['system'] == 'OpenBSD':
self.facts['pkg_mgr'] = 'openbsd_pkg'
def get_lsb_facts(self):
lsb_path = module.get_bin_path('lsb_release')
......
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