aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [policies] pep8 complianceAdam Stokes2014-08-025-57/+76
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [utilities] pep8 complianceAdam Stokes2014-08-021-24/+32
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugins] pep8 compliance for rest of pluginsAdam Stokes2014-08-0267-864/+925
| | | | | | All plugins should now be in compliance with pep8 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugins] more pep8/pyflake plugin cleanupAdam Stokes2014-08-0175-1057/+1180
| | | | | | | There's a lot of changes, however, it is primarily formatting of existing code and no new code is introduced. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [docs] link the mailing list in restructured text properlyAdam Stokes2014-08-011-1/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [docs] fix a typo in the mailing list descriptionBryn M. Reeves2014-08-012-3/+3
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] include sos import path for resolving modulesAdam Stokes2014-08-011-0/+3
| | | | | | | During documentation generation we need to be able to resolve the modules on other systems while generating the documentation. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugins] - pep8 fixes for first patch of sub pluginsAdam Stokes2014-08-0116-171/+193
| | | | | | pep8/pyflakes fixes for first set of plugins abrt-ceph Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [docs] - Add links to wiki documentationAdam Stokes2014-08-011-3/+3
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [docs] - Add API documentation generationAdam Stokes2014-08-018-0/+560
| | | | | | | Use sphinx to generate api docs which we can tie into a service like Read the docs in order to have reference documentation on our apis. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [ldap] - fix undefined variable ldap_confAdam Stokes2014-08-011-1/+1
| | | | | | Code was attempting to access a variable within the incorrect scope. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugins] - pep8 fixesAdam Stokes2014-08-011-68/+83
| | | | | | Code formatting for pep8/pyflakes Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [archive,reporting] - more pep8/pyflakes fixesAdam Stokes2014-08-014-40/+65
| | | | | | No code changes just formatting to make the linters happy. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [megacli] - remove rogue print statementAdam Stokes2014-08-011-3/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [nfsserver] add /etc/exports.dBryn M. Reeves2014-07-311-1/+3
| | | | | | Fixes #326. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [gluster] add redhat-storage-releaseBryn M. Reeves2014-07-311-0/+1
| | | | | | Fixes #329. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [gluster] tidy up add_copy_spec() usageBryn M. Reeves2014-07-311-15/+12
| | | | | | | | The gluster plugin has a pile of fragmented add_copy_spec() calls. Consolidate them into as few add_copy_specs() calls as possible and remove the cargo-cult positioning of logs at the end. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Collect local FirewallD XML configjbainbri2014-07-311-0/+3
| | | | FirewallD looks for config files for icmptypes, zones, and services in /etc/firewalld/ and if none are found, falls back to /usr/lib/firewalld/. This way, changes made on the system are stored under /etc which overrides the default.
* [sosreport] make pep8 happyAdam Stokes2014-07-311-184/+220
| | | | | | | | | There were a ton of violations as far as pep8 is concerned. Corrected all of these in this particular file. There were even a few incorrect comparison syntax within the checking of particular plugin options that were corrected as well. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [sosreport] remove module commentAdam Stokes2014-07-311-1/+0
| | | | | | | This is part of an effort to cleanup syntax throughout the entire python codebase. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [rpm] reduce verify timeout to 180sBryn M. Reeves2014-07-311-1/+1
| | | | | | | | | | | | | | The initial rpm verify timeout was set to 3600s (one hour). This is insane; if a verify has not completed in that time then it's unlikely that it ever will. With the current set of verify patterns the total time taken in rpm (including both the verify and all other runs, e.g. policy initialisation) is under 60s on all my test hosts (bare metal and virtual). Allow a factor of three over this figure and set the timeout to 180s. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [pcp] use socket.gethostname() instead of shelling outBryn M. Reeves2014-07-311-8/+2
| | | | | | | | | | There's no need to take a fork to retrieve the system host name. Use the socket.gethostname() function instead (plugins also have no businness importing things from sos.utilities directly - all the useful functions in there have wrapper methods in the Plugin class, e.g. call_ext_prog(), check_ext_prog() etc.). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ldap] add output of 'certutil -L'Bryn M. Reeves2014-07-181-0/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ldap] add more forbidden paths and restrict file collectionBryn M. Reeves2014-07-181-2/+9
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ds] add 'certutil -L' collection for slapd instancesBryn M. Reeves2014-07-181-0/+9
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ds] exclude paths containing directory server secretsBryn M. Reeves2014-07-181-1/+14
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] Improve README.md formattingBryn M. Reeves2014-07-151-4/+6
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] update README.mdBryn M. Reeves2014-07-151-10/+37
| | | | | | | Update README.md for the new repository URL and add links to a couple of new wiki pages. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [archive] remove python2 debug code from classBryn M. Reeves2014-07-151-1/+0
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [general] delete UbuntuGeneral and incorporate into GeneralBryn M. Reeves2014-07-151-9/+3
| | | | | | | | The UbuntuGeneral plugin just collects '/etc/os-release' which is not specific to Ubuntu distributions. Move it to the General class itself and delete the child class. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] document -z, --compression-type in sosreport(1)Bryn M. Reeves2014-07-101-0/+5
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sosreport,archive] fix command line compression method selectionBryn M. Reeves2014-07-102-5/+14
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [megacli] add new command and switch to add_copy_specsBryn M. Reeves2014-07-091-3/+9
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [logrotate] list style fixesBryn M. Reeves2014-07-081-1/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [libraries] option_list style fixesBryn M. Reeves2014-07-082-5/+8
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ldap] list style fixesBryn M. Reeves2014-07-081-4/+10
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [infiniband] list style fixesBryn M. Reeves2014-07-081-1/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [i18n] list style fixesBryn M. Reeves2014-07-081-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [foreman] string building style fixesBryn M. Reeves2014-07-081-2/+3
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [emc] list style fixesBryn M. Reeves2014-07-081-3/+6
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ds] list style fixesBryn M. Reeves2014-07-081-2/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [dmraid] option_list style fixesBryn M. Reeves2014-07-081-3/+3
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [dhcp] style fixesBryn M. Reeves2014-07-081-1/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [cs] list style fixesBryn M. Reeves2014-07-081-14/+20
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [cluster] list and function style fixesBryn M. Reeves2014-07-081-20/+36
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [ceph] option_list style fixesBryn M. Reeves2014-07-081-7/+11
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [boot] option_list style fixesBryn M. Reeves2014-07-081-3/+3
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [azure] list style fixesBryn M. Reeves2014-07-081-5/+7
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [autofs] make package verification depend on --verifyBryn M. Reeves2014-07-081-1/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [auditd] style fixesBryn M. Reeves2014-07-081-0/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>