aboutsummaryrefslogtreecommitdiffstats
path: root/sos/plugins/ntp.py
Commit message (Collapse)AuthorAgeFilesLines
* [Plugin] remove add_copy_specs()Bryn M. Reeves2014-09-301-1/+1
| | | | | | | | | | | Merge add_copy_specs() into add_copy_spec() and treat any strings passed to the new method as though they were a single item list. Mirrors the prior change to add_cmd_outputs(). Fixes #301. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [plugins] improve plugin class docstringsBryn M. Reeves2014-09-161-5/+1
| | | | | | | | | | | | | Plugin class docstrings should be a brief (42 characters or less) description of the component the plugin supports. This is needed since the class docstring is displayed in the table of enabled plugins when running 'sosreport --list-plugins'. Class docstrings should not describe the distribution a particular class runs on; this is redundant since only plugins tagges with a class matching the running policy will be displayed. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [plugins] add initial profile tags to all pluginsBryn M. Reeves2014-09-161-0/+1
| | | | | | | | | | | | | | | | | Add an initial profile tag list to each plugin base class. A tag list is a tuple of strings indicating the set of profiles that should select this plugin, e.g.: plugin_name = "qux" profiles = ('system', 'storage', 'foo) A follow up patch will add infrastructure to use these tag lists to allow the user to select a logically-related set of plugins by specifying a profile on the command line: # sosreport -v --batch --profile=storage Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [plugins] more pep8/pyflake plugin cleanupAdam Stokes2014-08-011-11/+12
| | | | | | | 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>
* Add vim tags to all python source filesBryn M. Reeves2014-03-261-0/+2
| | | | | | Fixes Issue #243. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Remove ntp data from system plug-inBryn M. Reeves2013-04-261-1/+5
| | | | | | | Ntp information belongs in the ntp plug-in.. Duh. Move the few files collected in the system module to ntp.py. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Merge branch 'new_ubuntu_plugin'Bryn M. Reeves2013-04-181-3/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-121-1/+0
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-121-3/+23
| |
* | Remove absolute paths from plug-insBryn M. Reeves2013-04-091-2/+2
|/ | | | | | | | Now that policies have control of PATH there is no need for plug-ins to try to guess the correct absolute path (or work around cases where it is known to have changed). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Rename functions and methods in plugins to comply with pep8Bryn M. Reeves2013-03-281-2/+2
| | | | | | | | | | | | | There are lots of historical camelCase function and method names in the plugin directory even though pep8 very clearly recommends against these other than for external backwards compatibility. Rename all the camelCased functions and methods and fix up the main sosreport code, examples and tests to use the new names. Fixes Issue #112. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Rename command output collection interfacesBryn M. Reeves2012-12-171-2/+2
| | | | | | | | | | | The method names for collecting external output are ugly and awkward to type. Rename them to be more consistent with the file collection API and easier to remember and type. This change touches virtually every plugin class but is a very simple search/replace (plugin changes were done with sed). Fixes Issue #92.
* Add output of ntptime to ntp moduleBryn M. Reeves2012-12-131-1/+4
|
* Major updates to most of SoSReportJesse Jaggars2011-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* [plugins] removed empty returnspcarrier2010-11-221-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1019 ef72aa8b-4018-0410-8976-d6e080ef94d8
* - moved 1.9 to trunkr1.9astokes2010-02-171-0/+23
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@778 ef72aa8b-4018-0410-8976-d6e080ef94d8