From 4980e76a3afd7486fd28172076a11a9a9efbdfff Mon Sep 17 00:00:00 2001 From: Alexander Winkler Date: Tue, 27 May 2014 06:40:47 +0000 Subject: [PATCH] added solaris fact detection for ansible_pkg_mgr --- lib/ansible/module_utils/facts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index bcdfd2a7e0d..32090faf7bc 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -109,6 +109,8 @@ class Facts(object): { 'path' : '/usr/sbin/pkg', 'name' : 'pkgng' }, { 'path' : '/usr/sbin/swlist', 'name' : 'SD-UX' }, { 'path' : '/usr/bin/emerge', 'name' : 'portage' }, + { 'path' : '/usr/sbin/pkgadd', 'name' : 'svr4pkg' }, + { 'path' : '/usr/bin/pkg', 'name' : 'pkg' }, ] def __init__(self):