summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* Cfg: Add support for perms='inherit' (Ticket #642)Sol Jerome2011-06-201-0/+7
| | | | | | | | | | | This feature allows you to use the on-disk permissions of the file in the Cfg repository rather than specifying them using the traditional means in info.xml. Note that this only works for the octal permissions of the file on disk since the owner/group may not exist on the destination machine. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.0pre3v1.2.0pre3Sol Jerome2011-06-181-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Improved handling of JSON data from probesChris St. Pierre2011-06-171-7/+10
|
* updated Lint.Comments for new properties XML handlingChris St. Pierre2011-06-171-1/+1
|
* change error to debugChris St. Pierre2011-06-161-2/+1
|
* Merge branch 'py3k'Sol Jerome2011-06-157-8/+19
|\
| * Hostbase: More PY3K fixesSol Jerome2011-06-153-8/+15
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * PY3K: Add compatibility commentsSol Jerome2011-06-154-0/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed bugs with handling of negate in new StructFile.Match()Chris St. Pierre2011-06-151-2/+4
| |
* | cleaned up some ProbeData stuff, make null probe storage more consistentChris St. Pierre2011-06-151-3/+5
| |
* | bug fixesChris St. Pierre2011-06-152-19/+13
| |
* | made StructFile.Match() work with Group/Client tags inside other tagsChris St. Pierre2011-06-152-79/+46
| |
* | make Bcfg2 automatically handle JSON, XML, and YAML output from probesChris St. Pierre2011-06-151-4/+89
|/
* PY3K: Finish server-side code fixesSol Jerome2011-06-146-15/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Remove Base from default plugins listSol Jerome2011-06-141-2/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Init: Remove Base from default plugin list"Sol Jerome2011-06-141-0/+1
| | | | This reverts commit 611ce16c8cef81a6fc754c46dcb5cbe618b20b67.
* Init: Remove Base from default plugin listSol Jerome2011-06-141-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Validate: Create and use new error type for missing schemasSol Jerome2011-06-142-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Accept non-ASCII diffsHolger Weiß2011-06-145-6/+31
| | | | | | | Currently, client reports don't include diffs of files which aren't US-ASCII encoded. The client transmits such files as Base64 blobs. As we'd like to change that, this commit teaches the server to properly handle non-ASCII diffs.
* Validate: Unsuppress errors for invalid schema paths (#1007)Sol Jerome2011-06-141-2/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Base: Deprecate Base in favor of BundlerSol Jerome2011-06-141-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added -t option to set client timeoutChris St. Pierre2011-06-142-3/+6
|
* Cfg: Fix traceback for non-ascii filesSol Jerome2011-06-141-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed debugging output from Validate pluginChris St. Pierre2011-06-141-3/+0
|
* 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
|
* add yet another missing sys importTorsten Rehn2011-06-141-0/+1
|
* 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>
* Plugins: Handle builtin file type for PY3KSol Jerome2011-05-032-10/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>