From 2ac57e0bc3c97660e9d3447479357a6c8fdf705d Mon Sep 17 00:00:00 2001 From: Alexander Winkler Date: Tue, 7 Feb 2017 07:57:27 +0100 Subject: [PATCH] Usage of proper Solaris 11 Package Manager The default Package Manager for Solaris 11 has been set to the module pkg, but there is no such module. Instead pkg5 exists and will be used from now on. --- lib/ansible/module_utils/facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 02c209431e..b9f5ab264b 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -153,7 +153,7 @@ class Facts(object): { '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' }, + { 'path' : '/usr/bin/pkg', 'name' : 'pkg5' }, { 'path' : '/usr/bin/xbps-install','name' : 'xbps' }, { 'path' : '/usr/local/sbin/pkg', 'name' : 'pkgng' }, { 'path' : '/usr/bin/swupd', 'name' : 'swupd' },