summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Cfg: Fix traceback for non-ascii filesSol Jerome2011-06-141-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Clarify normalization error (Reported by Tim Goodaire)Sol Jerome2011-06-141-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* allow setting whitelist/blacklist mode in bcfg2.confChris St. Pierre2011-06-141-0/+1
|
* removed debugging output from Validate pluginChris St. Pierre2011-06-141-3/+0
|
* APT: Add two filters for deprecated API accessesHolger Weiß2011-06-141-0/+2
| | | | | These accesses are triggered by <Package> configuration entries which don't have the "version" attribute set to "auto" or "any".
* fixed several major bugs in bcfg2-lint Validate pluginChris St. Pierre2011-06-141-6/+10
|
* added bcfg2-lint MergeFiles plugin to suggest config files and probesChris St. Pierre2011-06-142-10/+104
| | | | | | that are very similar and could be merged added text wrapping to bcfg2-lint error handling
* Cfg: Fix bcfg2-admin pull behavior for genshi templates (#1010)Sol Jerome2011-06-141-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugin: Fix nasty list comprehension bugSol Jerome2011-06-141-2/+2
| | | | | | | It appears as though Python 2 kept around variables assigned within a list comprehensions which caused this to go unnoticed. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Fix PluginExecutionErrorTim Laszlo2011-06-141-1/+1
| | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias.
* Added FileProbes plugin.Chris St. Pierre2011-06-142-1/+180
|
* Fixed error messages from info.xml bcfg2-lint checkChris St. Pierre2011-06-141-5/+5
|
* Improved Svn2 error handling -- ClientError may not have a message attribute.Chris St. Pierre2011-06-141-4/+4
|
* Fix a typo in an SSL error messageHolger Weiß2011-06-141-2/+2
|
* Logger: Fix non-string loggingSol Jerome2011-06-141-10/+13
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Logger: Statement always was True in python 2Sol Jerome2011-06-141-15/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Logger: Use bytes for PY3KSol Jerome2011-06-141-1/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* add yet another missing sys importTorsten Rehn2011-06-141-0/+1
|
* Upstart: Fix typo reported by justintime on IRCSol Jerome2011-06-141-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* add another missing sys importTorsten Rehn2011-06-141-0/+1
|
* DBStats: Stop duplicating data in reports_reasonTim Laszlo2011-06-141-6/+3
|
* log more useful error message if python-ldap is not installedTorsten Rehn2011-06-141-1/+9
|
* add missing sys importTorsten Rehn2011-06-141-0/+1
|
* Add missing import sys.Raul Cuza2011-06-141-0/+1
|
* Pass keypath to create_conf function.Raul Cuza2011-06-141-2/+2
|
* Add missing import.Raul Cuza2011-06-141-0/+1
|
* TCheetah: Fix local variable bug reported by trehn on IRCSol Jerome2011-06-141-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Fix the output encoding of Genshi templatesHolger Weiß2011-06-141-2/+3
| | | | | | Encode the configuration files generated from Genshi templates according to the encoding setting from Options.py instead of unconditionally using UTF-8.
* TGenshi: Fix local variable bug reported by trehn on IRCSol Jerome2011-05-061-3/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSHbase: PY3K string join method fixSol Jerome2011-05-061-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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>
* Common: Fixes to get server to start with PY3KSol Jerome2011-05-032-25/+26
| | | | 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-032-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Client/Tools: Get rid of popen2 (in favor of subprocess)Sol Jerome2011-04-281-45/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Py3k Compat: Add fixes for various importsSol Jerome2011-04-271-8/+43
| | | | 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-277-30/+45
| | | | 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-2620-76/+169
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Consolidate PY3K compatibility librariesSol Jerome2011-04-265-9/+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