summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* Added FileProbes plugin.Chris St. Pierre2011-05-112-1/+180
|
* Fixed error messages from info.xml bcfg2-lint checkChris St. Pierre2011-05-111-5/+5
|
* Improved Svn2 error handling -- ClientError may not have a message attribute.Chris St. Pierre2011-05-111-4/+4
|
* SSHbase: Fix PY3K tracebacks for known_hosts fileSol Jerome2011-05-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge pull request #30 from trehn/masterSol Jerome2011-05-092-0/+2
|\ | | | | import sys for SGenshi and Bundler
| * add yet another missing sys importTorsten Rehn2011-05-091-0/+1
| |
| * add another missing sys importTorsten Rehn2011-05-091-0/+1
| |
* | Merge pull request #29 from trehn/plugin-ldap-dev-trehnSol Jerome2011-05-091-1/+10
|\ \ | |/ |/| Two small fixes for Ldap plugin
| * log more useful error message if python-ldap is not installedTorsten Rehn2011-05-091-1/+9
| |
| * add missing sys importTorsten Rehn2011-05-091-0/+1
| |
* | DBStats: Stop duplicating data in reports_reasonTim Laszlo2011-05-091-6/+3
|/
* Add missing import sys.Raul Cuza2011-05-061-0/+1
|
* Pass keypath to create_conf function.Raul Cuza2011-05-061-2/+2
|
* Add missing import.Raul Cuza2011-05-061-0/+1
|
* TCheetah: Fix local variable bug reported by trehn on IRCSol Jerome2011-05-061-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* TGenshi: Fix local variable bug reported by trehn on IRCSol Jerome2011-05-061-3/+4
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit 071ef1a1fbe6368b1abb81855e1ab95e316e6911)
* Fixed several bugs with last commit. Sorry, I'm a doofus.Chris St. Pierre2011-05-061-11/+10
|
* Rewrote NagiosGen config to use NagiosGen/config.xml, whichChris St. Pierre2011-05-062-89/+91
| | | | | | | | | | | | understands <Group> and <Client> tags, rather than the client-specific Properties/NagiosGen.xml and the group-specific but limited NagiosGen/parents.xml. Includes schema and bcfg2-lint updates necessary. Wrote conversion tool, nagiosgen-convert.py, which converts everything but the <default/> tag in the old NagiosGen.xml, which cannot be reasonably converted to StructFile format. Also removed a _lot_ of string modification in NagiosGen.py, which should make it a fair bit faster.
* Core: Raise error on failed lxml import (Reported by Raul Cuza on IRC)Sol Jerome2011-05-051-1/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made bcfg2-lint error handling configurable on a much more granular levelChris St. Pierre2011-05-058-65/+143
|
* Packages: Solve byte string incompatibility in a different waySol Jerome2011-05-031-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Handle builtin file type for PY3KSol Jerome2011-05-032-10/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix regressions with new py3k codeSol Jerome2011-05-031-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix some syntax issuesSol Jerome2011-04-272-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Common: Add full PY3K compatibilitySol Jerome2011-04-271-3/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Admin: Add full PY3K compatibilitySol Jerome2011-04-267-15/+31
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Fix settings parserSol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Snapshots: Fix missing colon (Reported by emias on IRC)Sol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Fix import and indent errorsSol Jerome2011-04-262-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-2619-72/+143
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Consolidate PY3K compatibility librariesSol Jerome2011-04-265-33/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Add full PY3K compatibilitySol Jerome2011-04-268-20/+62
| | | | | | | | Note that Django still doesn't yet support version 3 so this won't necessarily work until there is a compatible version of django available for use. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Better error messages when Svn2 fails for predictable reasonsChris St. Pierre2011-04-261-10/+34
| | | | Other misc. Svn2 tweaks and fixes
* Version bump to 1.2.0pre2v1.2.0pre2Sol Jerome2011-04-251-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* unexpanded vcs keywords raise warning, not errorChris St. Pierre2011-04-251-2/+2
|
* Various bcfg2-lint fixes:Chris St. Pierre2011-04-254-105/+115
| | | | | | | | * check for all plugins before referencing them, since in --stdin mode even plugins like Bundler may not be instantiated * formatting fixes * made Bundles plugin work with or without genshi installed * fixed name of plugin in example bcfg2-lint.conf
* Misc. bcfg2-lint fixes and tweaks:Chris St. Pierre2011-04-213-6/+4
| | | | | | * fixed bcfg2-lint bug with older pythons * made bcfg2-lint silent by default on success * adjusted bcfg2-lint defaults and alerting levels to work better out-of-the-box
* Lots of cleanup for bcfg2-repo-validate rewrite:Chris St. Pierre2011-04-211-4/+8
| | | | | | | | | * Changed all references to bcfg2-repo-validate in the documentation to bcfg2-lint * Wrote man pages for bcfg2-lint and bcfg2-lint.conf * Cleaned up straggling references to bcfg2-repo-validate in Makefiles, spec files, and the POSIX tool * A few minor bug fixes
* fixed duplicate group detection in MetadataChris St. Pierre2011-04-201-2/+1
|
* short-circuit Pkgmgr lint checks if Pkgmgr plugin not enabledChris St. Pierre2011-04-201-0/+4
|
* Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a pluginChris St. Pierre2011-04-208-0/+733
| | | | | | | | | interface to be lots more flexible and extensible. Added several more tests. If bcfg2-lint is run as bcfg2-repo-validate, it roughly emulates the functionality of that program. TODO: Need to figure out correct way to symlink bcfg2-repo-validate to bcfg2-lint on install.
* Reports: Fix import error (Reported by emias on IRC)Sol Jerome2011-04-191-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed PropertyFile.Index() to populate .data as a side effectChris St. Pierre2011-04-141-1/+37
|
* added Client tag to StructFile; made PropertyFile inherit from StructFileChris St. Pierre2011-04-142-19/+25
|
* Init: Fix SyntaxError (Reported by emias on IRC)Sol Jerome2011-04-121-10/+3
| | | | | | | | Python < 2.6 uses the '0600' format for specifying the mode while 2.6 and later allow the use of '0o600'. Since python 3 forces the latter, we can use the stat module to maintain compatibility with both. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Editor: Add missing comma (Reported by emias)Sol Jerome2011-04-121-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added next() method to Reports BatchFetch iterator for compatibility with ↵Chris St. Pierre2011-04-121-0/+4
| | | | pre-3.0 versions of python
* Reports: Use the newer DATABASES option in settings.pyTim Laszlo2011-04-111-19/+28
|
* Reports: delete orphaned Reasons after the purge command is runTim Laszlo2011-04-111-0/+2
|
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-076-78/+96
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>