summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-admin compare: Handle POSIX <Path> entriesHolger Weiß2011-07-051-8/+14
| | | | | | | | Let "bcfg2-admin compare" handle POSIX <Path> tags instead of the old-style entries. While at it, add support for all attributes which might show up in configuration specifications.
* bcfg2-admin compare: Actually do somethingHolger Weiß2011-07-051-0/+1
| | | | | The __call__() method now calls self.compareSpecifications() instead of effectively doing nothing.
* prevent KeyErrors when directories get changed by rsyncTorsten Rehn2011-07-041-1/+1
| | | | This wasn't originally anticipated, but if a repository is updated via rsync, HandleEvent() receives 'changed' actions for directories as well. Directories aren't present in self.entries and consequently caused KeyErrors.
* Statistics: Abort if "sensitive" files are pulledHolger Weiß2011-06-301-1/+3
| | | | | | Let the Statistics plugin raise a PluginExecutionError if a "sensitive" entry is requested by "bcfg2-admin pull". This is how the DBStats plugin behaves already.
* DBStats: Bump internal database versionHolger Weiß2011-06-301-0/+4
| | | | | The internal database version must be incremented due to the new "is_sensitive" column.
* bcfg2-admin: Fix traceback when help argument omittedSol Jerome2011-06-291-3/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* New database field: "is_sensitive"Holger Weiß2011-06-295-12/+26
| | | | | | The new "entry.reason.is_sensitive" flag indicates whether the file contents/diffs were omitted from the database due to the "sensitive" <Path> attribute.
* New Info attribute: "sensitive"Holger Weiß2011-06-292-4/+8
| | | | | | The contents/diffs of <Path>s which are marked as "sensitive" are now omitted from the reports transmitted to the server, so that they won't end up in the statistics database.
* Merge branch 'master' of git.mcs.anl.gov:/bcfg2Sol Jerome2011-06-261-7/+6
|\
| * Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-06-2227-152/+373
| |\
| * \ Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-05-115-11/+190
| |\ \
| | * | Cfg: Fix PluginExecutionErrorTim Laszlo2011-05-111-1/+1
| | | | | | | | | | | | | | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias.
| | * | 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
| | | |
| * | | Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-05-1071-1074/+2534
| |\| |
| | * | 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)
| * | | GroupPatterns: add support for multiple group targets in a single clauseNarayan Desai2011-05-101-7/+6
| | | |
* | | | Handle :info file removalHolger Weiß2011-06-261-1/+1
| |_|/ |/| | | | | | | | | | | Handle the removal of :info files in the same way as the removal of info files (without leading colon) is handled.
* | | Added auth attrib to list of valid attribs that the Client object can add/updateKristian Kostecky2011-06-211-2/+4
| | |
* | | 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>