mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Recognize pkgin when installed in the global zone on SmartOS
This commit is contained in:
parent
b9e4a4dede
commit
0c0defb63d
1 changed files with 3 additions and 2 deletions
|
@ -145,6 +145,7 @@ class Facts(object):
|
|||
{ 'path' : '/bin/opkg', 'name' : 'opkg' },
|
||||
{ 'path' : '/usr/pkg/bin/pkgin', 'name' : 'pkgin' },
|
||||
{ 'path' : '/opt/local/bin/pkgin', 'name' : 'pkgin' },
|
||||
{ 'path' : '/opt/tools/bin/pkgin', 'name' : 'pkgin' },
|
||||
{ 'path' : '/opt/local/bin/port', 'name' : 'macports' },
|
||||
{ 'path' : '/usr/local/bin/brew', 'name' : 'homebrew' },
|
||||
{ 'path' : '/sbin/apk', 'name' : 'apk' },
|
||||
|
@ -2247,7 +2248,7 @@ class Darwin(Hardware):
|
|||
class HurdHardware(LinuxHardware):
|
||||
"""
|
||||
GNU Hurd specific subclass of Hardware. Define memory and mount facts
|
||||
based on procfs compatibility translator mimicking the interface of
|
||||
based on procfs compatibility translator mimicking the interface of
|
||||
the Linux kernel.
|
||||
"""
|
||||
|
||||
|
@ -3016,7 +3017,7 @@ class NetBSDNetwork(GenericBsdIfconfigNetwork):
|
|||
"""
|
||||
platform = 'NetBSD'
|
||||
|
||||
def parse_media_line(self, words, current_if, ips):
|
||||
def parse_media_line(self, words, current_if, ips):
|
||||
# example of line:
|
||||
# $ ifconfig
|
||||
# ne0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
|
|
Loading…
Reference in a new issue