aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ldap.py : improved data collection on Ubuntu/DebianLouis Bouchard2013-04-231-4/+20
|
* Fix regression in exit handling codeBryn M. Reeves2013-04-191-3/+0
| | | | | | | Commit ab00491 introduced a duplicate _exit() method with different parameters. Delete it. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Merge pull request #134 from battlemidget/fix-tabs-to-spaces-in-pluginsBryn M. Reeves2013-04-192-24/+26
|\ | | | | Fix tabs to spaces in plugins
| * Another tab-to-space fix in ubuntu policyAdam Stokes2013-04-191-1/+1
| | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * Merge branch 'master' into fix-tabs-to-spaces-in-pluginsAdam Stokes2013-04-191-2/+2
| |\
| * | Fixed a few tabs-to-spaces in both pluginsAdam Stokes2013-04-192-24/+26
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | Fix sar plug-in sa_path usage and enable on Debian/UbuntuBryn M. Reeves2013-04-191-28/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that all places in the sar plug-in that need to reference the sar log path do so using the sa_path variable. This enables the plug-in to work on other distributions by changing the value of sa_path in a new subclass. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | | Fix whitespace breakage in previous commitBryn M. Reeves2013-04-191-1/+1
| |/ |/| | | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | Fix Ubuntu policy classBryn M. Reeves2013-04-191-2/+2
|/ | | | | | | | | Make sure the ubuntu policy class imports the DebianPlugin tagging class and move initialisation off valid_subclasses from class scope to the constructor since the superclass will reset the property value when its initialiser is called. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Delete fossilised threading codeBryn M. Reeves2013-04-182-11/+2
| | | | | | | | Remove left-over bits of the old threading infrastructure such as the "please_exit()" plugin method and must_exit instance variable. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Merge pull request #131 from battlemidget/patch-1Bryn M. Reeves2013-04-181-1/+1
|\ | | | | Update README.md
| * Update README.mdAdam Stokes2013-04-181-1/+1
| | | | | | Due to the results from the Debian packaging policy this package was renamed to sosreport from sos. Updating readme to reflect that
* | Remove bogus path check in sar moduleBryn M. Reeves2013-04-181-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | The sar module tries to check for the existence of a binary at some exact path. Since all call outs now go through PATH this no longer works leading to a bogus error level log message. Remove this check and also move the accompanying check on /var/lib/sa into a separate check_enabled method - without this path being present there is nothing for the plug-in to collect. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | Fix auditd command line optionsBryn M. Reeves2013-04-181-1/+1
| | | | | | | | | | | | | | | | The refactoring in the previous merge commit introduced a bug in the option handling for the auditd plugin ('syslogsize' instead of 'logsize' when referencing the option in setup()). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | Merge branch 'new_ubuntu_plugin'Bryn M. Reeves2013-04-1823-95/+453
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sos/plugins/auditd.py sos/plugins/corosync.py sos/plugins/dovecot.py sos/plugins/general.py sos/plugins/ldap.py sos/plugins/lsbrelease.py sos/plugins/mysql.py sos/plugins/named.py sos/plugins/networking.py sos/plugins/nis.py sos/plugins/ntp.py sos/plugins/pam.py sos/plugins/postfix.py sos/plugins/pxe.py sos/plugins/samba.py sos/plugins/sendmail.py sos/plugins/snmp.py sos/plugins/startup.py sos/policies/debian.py Fixed up numerous bits of breakage due to the recent PATH changes in master and also refactored some of the newly ported plug-ins to reduce the amount of code duplication between distro versions of common plug-ins. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
| * fix typoLouis Bouchard2013-04-151-2/+2
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-3/+27
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-3/+19
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+2
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-4/+26
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+24
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+23
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-4/+38
| |
| * Merge branch 'fix_packages_gh126' to stay current with upstreamLouis Bouchard2013-04-151-4/+4
| |\
| | * Fixes the packages() statement that was no working for Ubuntu/DebianLouis Bouchard2013-04-121-4/+4
| | |
| * | fix get_dns_dir which backtraces if regex is not foundLouis Bouchard2013-04-151-1/+4
| | |
| * | Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-123-8/+45
| | |
| * | Fix more reformat typosLouis Bouchard2013-04-122-4/+4
| | |
| * | Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-121-3/+23
| |/
| * Fix typo and new format missLouis Bouchard2013-04-111-2/+2
| |
| * Fix main class missing setupLouis Bouchard2013-04-111-0/+1
| |
| * Fix new format missesLouis Bouchard2013-04-112-3/+3
| |
| * Removed ufw bits which is now in networkingLouis Bouchard2013-04-051-2/+0
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-2/+20
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-5/+43
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-2/+26
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-056-13/+94
| |
| * More fixes for general.py specific to Ubuntu/DebianLouis Bouchard2013-04-051-2/+1
| |
| * Fix optionList anomalyLouis Bouchard2013-04-051-2/+2
| |
* | Merge branch 'pyflakes-remove-unused-imports'Bryn M. Reeves2013-04-1835-44/+6
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: sos/plugins/as7.py sos/plugins/jboss.py sos/plugins/soundcard.py
| * | Remove all unused imports in pluginsAdam Stokes2013-04-1437-49/+6
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | Merge branch 'shell-fix-debian-packaging'Bryn M. Reeves2013-04-169-46/+77
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: sos/plugins/hardware.py
| * | | Fix inconsistent use of tabs and spacesAdam Stokes2013-04-142-29/+29
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Remove python-support, attempt to remove LICENSE after dh_auto_installAdam Stokes2013-04-116-23/+45
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Debian packaging changes as a result from Debian ITPAdam Stokes2013-04-113-5/+14
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Fix test for shell_outputAdam Stokes2013-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ENV['PATH'] is blank when running this test so we can not rely on cmd_env['PATH']. I dont know if PATH is supposed to be blank in this setup or not so we hardcode in a python executable. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | | Merge pull request #124 from arges/masterBryn M. Reeves2013-04-163-13/+62
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add Ubuntu/Debian support for Postgresql. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
| * | | | Enable soundcard plugin for Debian/Ubuntu.Chris J Arges2013-04-121-7/+28
| | | | |
| * | | | Add Ubuntu/Debian support for postgresql plugin.Chris J Arges2013-04-102-6/+34
| |/ / / | | | | | | | | | | | | Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
* | | | Merge pull request #128 from battlemidget/pyflakes-fixesBryn M. Reeves2013-04-169-20/+18
|\ \ \ \ | | | | | | | | | | Pyflakes fixes