summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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>
* Fix some syntax issuesSol Jerome2011-04-271-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Fix import and indent errorsSol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-2618-63/+125
| | | | 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
* fixed duplicate group detection in MetadataChris St. Pierre2011-04-201-2/+1
|
* 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-141-8/+2
|
* Editor: Add missing comma (Reported by emias)Sol Jerome2011-04-121-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Hostbase: PY3K + PEP8 fixesSol Jerome2011-04-061-35/+44
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: PY3K + PEP8 fixesSol Jerome2011-04-0616-168/+259
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* In TGenshi templates, the "name" variable is set to the destination path of ↵Chris St. Pierre2011-03-161-4/+5
| | | | the file. If an altsrc attribute was used, then "name" is set to the altsrc value; otherwise, it is set to the "name" attribute of the original <Path> tag used to declare the file. In the new Genshi handler functionality of Cfg, this had not been ported over; "name" was always the original name of the file, even if altsrc was specified. Fixed that bug.
* Cfg: Fix unicode traceback (Resolves #993)Sol Jerome2011-03-071-7/+25
| | | | | | | | If the Cfg plugin handled a file containing a character which isn't contained in the encoding specified, it resulted in a traceback. This now fails gracefully and suggests use of an alternate encoding. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed handling of group- and host-specific .genshi templates in Cfg ↵Chris St. Pierre2011-03-041-1/+1
| | | | (non-greedy matching)
* Bundler: Add support for genshi .xml bundlesSol Jerome2011-02-261-3/+20
| | | | | | | This commit modifies the Bundler plugin to allow for genshi templates with .xml file extensions via the xml namespace (Resolves ticket #861). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Create info.xml files by default with bcfg2-admin pullSol Jerome2011-02-211-17/+9
| | | | | | | Using info.xml files allows the user to validate permissions with the info schema. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* DBStats: use clients_xml classTim Laszlo2011-02-101-1/+1
|
* Metadata: Move group routines to new classTim Laszlo2011-02-101-6/+6
|
* Missing newline in helpTim Laszlo2011-02-101-55/+28
|
* Metadata: Move client routines to new classTim Laszlo2011-02-101-36/+18
|
* Metadata: Add xml source classTim Laszlo2011-02-101-138/+160
|
* Probes: Patch to sort nested items from faceted.wordpress.com (Resolves #987)Sol Jerome2011-02-051-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSHbase: Fix hang when file not present on clientSol Jerome2011-01-311-3/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Properties: Catch exception when missing Properties directorySol Jerome2011-01-281-1/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Handle writes to XInclude files in bootstrap modeTim Laszlo2011-01-281-3/+19
|
* Metadata: Handle writes to XInclude files within clients.xml (Resolves #841)Tim Laszlo2011-01-281-12/+28
|
* added verification of cert against key, and ensured plugins entries get ↵Graham Hagger2011-01-261-2/+27
| | | | updated correctly if cert is requested before key, thus key was getting genned, then cert, then key again because the plugin didnt know it already had the key - doh
* Metadata: Reload clients.xml before writing if the Pseudo file monitor is usedTim Laszlo2011-01-241-0/+17
|
* Metadata: Typo in XIncludeErrorTim Laszlo2011-01-241-1/+1
|
* Metadata: Stop stripping comments from clients.xml (Resolves #929)Tim Laszlo2011-01-241-10/+2
|
* Metadata: Raise MetadataConsistencyError when set_profile failsTim Laszlo2011-01-231-0/+1
|
* Metadata: Gracefully handle failed profile updates to clients.xml using ↵Tim Laszlo2011-01-231-1/+5
| | | | xinclude files
* Cfg: Handle empty genshi templates (Ticket #948)Tim Laszlo2011-01-231-0/+2
|
* TGenshi: Handle empty files (Resolves #948)Tim Laszlo2011-01-231-0/+2
|
* Cfg: Add support for .genshi filesTim Laszlo2011-01-221-7/+48
|