added better gentoo/funtoo support
This commit is contained in:
parent
90655cb7b0
commit
68510ecda8
1 changed files with 3 additions and 1 deletions
|
@ -119,6 +119,7 @@ class Facts(object):
|
|||
'/etc/release': 'Solaris',
|
||||
'/etc/arch-release': 'Archlinux',
|
||||
'/etc/SuSE-release': 'SuSE',
|
||||
'/etc/gentoo-release': 'Gentoo',
|
||||
'/etc/os-release': 'Debian' }
|
||||
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
|
||||
|
||||
|
@ -136,6 +137,7 @@ class Facts(object):
|
|||
{ 'path' : '/sbin/apk', 'name' : 'apk' },
|
||||
{ 'path' : '/usr/sbin/pkg', 'name' : 'pkgng' },
|
||||
{ 'path' : '/usr/sbin/swlist', 'name' : 'SD-UX' },
|
||||
{ 'path' : '/usr/bin/emerge', 'name' : 'portage' },
|
||||
]
|
||||
|
||||
def __init__(self):
|
||||
|
@ -244,7 +246,7 @@ class Facts(object):
|
|||
SLC = 'RedHat', Ascendos = 'RedHat', CloudLinux = 'RedHat', PSBM = 'RedHat',
|
||||
OracleLinux = 'RedHat', OVS = 'RedHat', OEL = 'RedHat', Amazon = 'RedHat',
|
||||
XenServer = 'RedHat', Ubuntu = 'Debian', Debian = 'Debian', SLES = 'Suse',
|
||||
SLED = 'Suse', OpenSuSE = 'Suse', SuSE = 'Suse', Gentoo = 'Gentoo',
|
||||
SLED = 'Suse', OpenSuSE = 'Suse', SuSE = 'Suse', Gentoo = 'Gentoo', Funtoo = 'Gentoo',
|
||||
Archlinux = 'Archlinux', Mandriva = 'Mandrake', Mandrake = 'Mandrake',
|
||||
Solaris = 'Solaris', Nexenta = 'Solaris', OmniOS = 'Solaris', OpenIndiana = 'Solaris',
|
||||
SmartOS = 'Solaris', AIX = 'AIX', Alpine = 'Alpine', MacOSX = 'Darwin',
|
||||
|
|
Loading…
Reference in a new issue