Add Ubuntu/Debian support for postgresql plugin.

Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Enable soundcard plugin for Debian/Ubuntu.
Fix imports in correct files

sos/archive.py:
    - Archive uses selinux module but wasn't included
sos/policies/__init__:
    - sys.exit called without sys import

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
pyflakes results

sos/plugins/cgroups.py:
    - Fix call to non existent cgroups method
sos/plugins/{dhcp,iscitarget}.py:
    - Fix class call names
sos/plugins/process.py:
    - Remove random method calling nonexistent routines
sos/plugins/selinux.py:
    - Fix call to do_regex_findall

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Fixup PATH breakage in emc plug-in

The automated changes to remove absolute paths went a bit awry
with odd paths in /opt and other locations. Fix these up in the
emc plug-in.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Fixup PATH breakage in general plug-in

PATH changes caused an incorrect '/usr/bin/java' -> '/usrjava'
change in the general plug-in. Revert it.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Remove PATH workarounds from hardware plug-in

The hardware plug-in contains code to check for the existence
of binaries before running them. This won't work if plug-ins are
providing non-absolute paths for executables and is redundant in
any case since the shell-out wrappers already do this and log
unavailable binaries. Also removes the workaround for lsusb
changing path in recent versions.

Signed-of-by: Bryn M. Reeves <bmr@redhat.com>
Remove obsolete ksyms check from kernel plug-in

The ksyms program is a 2.4ism that has not existed on distros for
years. Remove all reference to it from the kernel plug-in.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Remove jboss and as7 plug-ins and related infrastructure

The JBoss and AS7 plug-ins are among the largest and most complex
in the tree:

192 sos/plugins/openstack.py
218 sos/plugins/emc.py
253 sos/plugins/as7.py
713 sos/plugins/jboss.py
861 sos/plugins/__init__.py
6722 total

They are not used in any products based on these projects at the
current time and are not being maintained or developed for new
versions.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Merge pull request #128 from battlemidget/pyflakes-fixes

Pyflakes fixes
Merge pull request #124 from arges/master

Add Ubuntu/Debian support for Postgresql.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>