summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* fixed output from ohai plugin when ohai not installedChris St. Pierre2011-07-151-1/+0
|
* made ohai plugin fail gracefully on machines without ohai installedChris St. Pierre2011-07-111-2/+12
|
* Enhanced bcfg2-admin viz to allow output to be limited to one client.Mike McCallister2011-07-051-12/+29
| | | | | | | | | | By default, bcfg2-admin viz creates a diagram that shows the complete contents of the repository: all Groups, Bundles, and (optionally) Hosts/Clients. In a complicated configuration, this can be an overwhelming amount of information. This change adds an --only-client option that can be used to limit the elements on the diagram to those that apply to the named host.
* 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.
* New database field: "is_sensitive"Holger Weiß2011-06-291-2/+3
| | | | | | 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-291-2/+4
| | | | | | 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:bcfg2Narayan Desai2011-06-228-62/+147
|\
| * 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>
| * Improved handling of JSON data from probesChris St. Pierre2011-06-171-7/+10
| |
| * Merge branch 'py3k'Sol Jerome2011-06-152-0/+2
| |\
| | * PY3K: Add compatibility commentsSol Jerome2011-06-152-0/+2
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | cleaned up some ProbeData stuff, make null probe storage more consistentChris St. Pierre2011-06-151-3/+5
| | |
| * | bug fixesChris St. Pierre2011-06-151-11/+1
| | |
| * | made StructFile.Match() work with Group/Client tags inside other tagsChris St. Pierre2011-06-151-36/+9
| | |
| * | 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-144-13/+20
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Accept non-ASCII diffsHolger Weiß2011-06-142-1/+7
| | | | | | | | | | | | | | 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.
| * Base: Deprecate Base in favor of BundlerSol Jerome2011-06-141-0/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Cfg: Fix traceback for non-ascii filesSol Jerome2011-06-141-0/+7
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * 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>
| * 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-141-0/+177
| |
| * 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
| |
| * 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
| |
| * 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>
* | Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-05-113-5/+182
|\ \
| * | 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-111-0/+177
| | |
| * | 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-1026-381/+634
|\| |
| * | 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
| | | |
| * | | 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
| |/ /
| * | Add missing import sys.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-061-88/+89
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * 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-031-8/+14
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>