aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* refactoring common linux-related policy features into a common superclass, ↵Jesse Jaggars2012-02-235-242/+166
| | | | simplifying specification of valid plugin subclasses
* fixing another logic bug in policy loadingJesse Jaggars2012-02-231-1/+2
|
* fixing more policy loading problemsJesse Jaggars2012-02-225-6/+17
|
* Merge branch 'master' of https://github.com/battlemidget/sosreportJesse Jaggars2012-02-223-3/+4
|\
| * sos/policies/ubuntu: syntax checker requires any from __import__ to beAdam Stokes2012-02-221-1/+1
| | | | | | | | | | | | at top. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * Makefile: replace soft tabs with true tabAdam Stokes2012-02-221-1/+1
| | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * sos/sosreport: Display invalid plugins when verbosity is setAdam Stokes2012-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | Previously, when doing sosreport -l all valid and non valid plugins were being listed. In the case where there are multiple distributions involved this list can get quite long. In an effort to limit what the user sees based on distribution we only list all plugins if our verbosity option is set. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
* | Merge branch 'master' of https://github.com/battlemidget/sosreportJesse Jaggars2012-02-2113-6/+272
|\|
| * UbuntuPolicy: Make sure reading of lsb-release always closesAdam Stokes2012-02-211-4/+3
| | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * Makefile: make sure install and as7 block rely on a newAdam Stokes2012-02-211-3/+5
| | | | | | | | | | | | | | | | | | block This is to make sure that both build options will still provide a new __init__.py with proper version. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * sos/plugin: Add dpkg pluginAdam Stokes2012-02-211-0/+22
| | | | | | | | | | | | | | So far add support for querying dpkg database and capturing Package-Version-Architecture Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * Makefile: Make sure to remove gzipped sos.conf during cleanAdam Stokes2012-02-211-1/+1
| | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * debian: Add packaging rules for Debian/UbuntuAdam Stokes2012-02-216-0/+29
| | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * policies: Make sure policies are included during buildAdam Stokes2012-02-213-3/+23
| | | | | | | | | | | | | | | | | | There was no previous Makefile for including any additional policy files. Also updated upstream directory in toplevel Makefile and altered the @SOSVERSION@ string replacing to work properly instead of zeroing out the init file Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * policies: Add Debian/Ubuntu policiesAdam Stokes2012-02-213-0/+194
| | | | | | | | | | | | | | Adds support for Debian and Ubuntu based distributions. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
* | fixing as7 plugin to prevent duplicationJesse Jaggars2012-02-211-3/+4
|/
* Merge pull request #23 from jhjaggars/masterjhjaggars2012-02-154-156/+183
|\ | | | | Several bug fixes for AS7 plugin and base functionality
| * adding root_symlink support under tarfiles and fixing getOption behaviorJesse Jaggars2012-02-143-1/+25
| |
| * adding AS7Mixin class for AS7 related plugins and fixing some logic areas ↵Jesse Jaggars2012-02-132-155/+158
| | | | | | | | surrounding AS7 http auth
* | Merge pull request #22 from jhjaggars/masterjhjaggars2012-02-092-1/+25
|\| | | | | getOption now handles multiply named keys properly
| * Fixing a logic error with global option handllingJesse Jaggars2012-02-092-1/+25
|/
* Merge pull request #21 from jhjaggars/i18n_javajhjaggars2012-02-091-15/+51
|\ | | | | I18n java
| * set_i18n now changes the _sos function properlyJesse Jaggars2012-02-011-0/+5
| |
| * fixing naming of .properties filesJesse Jaggars2012-01-311-2/+2
| |
| * Prepending .properties i18n files with sos_Jesse Jaggars2012-01-311-1/+2
| |
| * Fixing i18n in jython/java use case.Jesse Jaggars2012-01-312-17/+48
| | | | | | | | | | | | | | | | | | ResourceBundle was unable to find the translation text resources. This change creates a new classloader loaded with the jarfile that contains the translations and passes it in directly to ResourceBundle.getBundle. Additionally the eap6 plugin has been renamed to as7.
* | Merge pull request #19 from jhjaggars/masterjhjaggars2012-02-062-8/+62
|\ \ | | | | | | Rename eap6 to as7 and add deployed archive listing to as7 plugin
| * | Renaming eap6 plugin to as7Jesse Jaggars2012-02-062-19/+55
| |/ | | | | | | adding deployed archive listing to as7 plugin
| * adding a tree of all zipped deploymentsJesse Jaggars2012-01-101-0/+18
| |
* | Merge pull request #18 from jhjaggars/masterjhjaggars2012-01-104-10/+41
|\|
| * Adding a generic policy for fallbackJesse Jaggars2012-01-102-2/+11
| |
| * renaming eap6 to as7 and changing the plugin not to grab deploymentsJesse Jaggars2012-01-061-8/+1
| |
| * Adding NIS pluginPierguido Lambri2011-12-161-0/+29
|/
* Merge pull request #17 from jhjaggars/2.3_pull_requestjhjaggars2011-12-14115-2144/+4204
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major updates to most of SoSReport Code reorganization Cross platform support for Windows, OS X and Linux Dynamically loaded policies Support for loading plugins from multiple locations via path modification of sos.plugins Support for running via Jython Support for executing from a jarfile Support for json based reporting infrastructure - Previous reporting methods still exist Support for other checksum algorithms (determined by policy) Support for other compression algorithms (determined by policy) New plugin API for writing arbitrary information in a new file inside the report archive. New plugin API for modifying files that have been added to the archive. Added API for global plugin options - external interface is unavailable at this time Many small bugfixes
| * Major updates to most of SoSReportJesse Jaggars2011-12-14115-2144/+4204
|/ | | | | | | | | | | | | | | | | | | | | Code reorganization Cross platform support for Windows, OS X and Linux Dynamically loaded policies Support for loading plugins from multiple locations via __path__ modification of sos.plugins Support for running via Jython Support for executing from a jarfile Support for json based reporting infrastructure - Previous reporting methods still exist Support for other checksum algorithms (determined by policy) Support for other compression algorithms (determined by policy) New plugin API for writing arbitrary information in a new file inside the report archive. New plugin API for modifying files that have been added to the archive. Added API for global plugin options - external interface is unavailable at this time Many small bugfixes
* Merge pull request #16 from strider/masterjhjaggars2011-12-011-1/+1
|\ | | | | Fixed path to logrotate.status, /var/lib/logrotate.status instead of /var/lig/logrotate.status
| * Update sos/plugins/logrotate.pyGaël Chamoulaud2011-11-301-1/+1
|/
* New plugin for gluster.Keith Robertson2011-11-141-2/+3
| | | | - Added checkEnabled
* New plugin for gluster.Keith Robertson2011-11-141-1/+6
| | | | - Added checkEnabled
* New plugin for gluster.Keith Robertson2011-11-091-0/+21
|
* Update example plugin to reflect reality (almost).Adrien Kunysz2011-04-221-28/+17
| | | | | | | There is still room for improvement but at least it's not completely wrong and misleading anymore. Acked-by: "Bryn M. Reeves" <bmr@redhat.com>
* 'ls' calls all use /bin/ls, and -n for nss safetyPierre Carrier2011-04-127-8/+8
| | | | | | | | !! NOT FOR RHEL6 CONSUMPTION - ls is always /bin/ls, as with almost every command moving to absolute path - '-n' avoids many getpwuid()s, which are sensible to nss failures for example nss_ldap could be very slow and run prior to nss_files
* [plugins] cluster.py: remove dups from corosync.pyPierre Carrier2011-04-061-5/+1
| | | | !! Not for RHEL6 GA consumption.
* cleaning some needless garbage from previous commit ;-)kevinverma2011-04-011-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1092 ef72aa8b-4018-0410-8976-d6e080ef94d8
* fixed path to lsusb, also added static and also -v output to same file, ↵kevinverma2011-04-011-1/+3
| | | | | | there is another interesting "-t" option but it seems a difficult animal right now git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1091 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] yum.py: added candlepin certspcarrier2011-02-241-0/+9
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1090 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] dhcp.py: include /etc/dhcppcarrier2011-02-231-1/+3
| | | | | | | Covers RHBZ#676522. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1089 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] Reverting the awful mistake from r1070pcarrier2011-02-2312-0/+152
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1088 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] sssd: useless header after copypastepcarrier2011-02-221-10/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1087 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] general: upstart /etc/event.dpcarrier2011-02-212-1/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1086 ef72aa8b-4018-0410-8976-d6e080ef94d8