Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cfg: Fix bcfg2-admin pull behavior for genshi templates (#1010) | Sol Jerome | 2011-05-13 | 1 | -1/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Cfg: Fix PluginExecutionError | Tim Laszlo | 2011-05-11 | 1 | -1/+1 |
| | | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias. | ||||
* | Added FileProbes plugin. | Chris St. Pierre | 2011-05-11 | 1 | -0/+177 |
| | |||||
* | Improved Svn2 error handling -- ClientError may not have a message attribute. | Chris St. Pierre | 2011-05-11 | 1 | -4/+4 |
| | |||||
* | SSHbase: Fix PY3K tracebacks for known_hosts file | Sol Jerome | 2011-05-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge pull request #30 from trehn/master | Sol Jerome | 2011-05-09 | 2 | -0/+2 |
|\ | | | | | import sys for SGenshi and Bundler | ||||
| * | add yet another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | |||||
| * | add another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | |||||
* | | log more useful error message if python-ldap is not installed | Torsten Rehn | 2011-05-09 | 1 | -1/+9 |
| | | |||||
* | | add missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
|/ | |||||
* | Add missing import sys. | Raul Cuza | 2011-05-06 | 1 | -0/+1 |
| | |||||
* | TCheetah: Fix local variable bug reported by trehn on IRC | Sol Jerome | 2011-05-06 | 1 | -3/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | TGenshi: Fix local variable bug reported by trehn on IRC | Sol Jerome | 2011-05-06 | 1 | -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. Pierre | 2011-05-06 | 1 | -11/+10 |
| | |||||
* | Rewrote NagiosGen config to use NagiosGen/config.xml, which | Chris St. Pierre | 2011-05-06 | 1 | -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 way | Sol Jerome | 2011-05-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Plugins: Handle builtin file type for PY3K | Sol Jerome | 2011-05-03 | 1 | -8/+14 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Fix some syntax issues | Sol Jerome | 2011-04-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Plugins: Fix import and indent errors | Sol Jerome | 2011-04-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Plugins: Add full PY3K compatibility | Sol Jerome | 2011-04-26 | 18 | -63/+125 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Better error messages when Svn2 fails for predictable reasons | Chris St. Pierre | 2011-04-26 | 1 | -10/+34 |
| | | | | Other misc. Svn2 tweaks and fixes | ||||
* | fixed duplicate group detection in Metadata | Chris St. Pierre | 2011-04-20 | 1 | -2/+1 |
| | |||||
* | fixed PropertyFile.Index() to populate .data as a side effect | Chris St. Pierre | 2011-04-14 | 1 | -1/+37 |
| | |||||
* | added Client tag to StructFile; made PropertyFile inherit from StructFile | Chris St. Pierre | 2011-04-14 | 1 | -8/+2 |
| | |||||
* | Editor: Add missing comma (Reported by emias) | Sol Jerome | 2011-04-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | PY3K + PEP8 fixes for remaining files | Sol Jerome | 2011-04-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Hostbase: PY3K + PEP8 fixes | Sol Jerome | 2011-04-06 | 1 | -35/+44 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Plugins: PY3K + PEP8 fixes | Sol Jerome | 2011-04-06 | 16 | -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. Pierre | 2011-03-16 | 1 | -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 Jerome | 2011-03-07 | 1 | -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. Pierre | 2011-03-04 | 1 | -1/+1 |
| | | | | (non-greedy matching) | ||||
* | Bundler: Add support for genshi .xml bundles | Sol Jerome | 2011-02-26 | 1 | -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 pull | Sol Jerome | 2011-02-21 | 1 | -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 class | Tim Laszlo | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | Metadata: Move group routines to new class | Tim Laszlo | 2011-02-10 | 1 | -6/+6 |
| | |||||
* | Missing newline in help | Tim Laszlo | 2011-02-10 | 1 | -55/+28 |
| | |||||
* | Metadata: Move client routines to new class | Tim Laszlo | 2011-02-10 | 1 | -36/+18 |
| | |||||
* | Metadata: Add xml source class | Tim Laszlo | 2011-02-10 | 1 | -138/+160 |
| | |||||
* | Probes: Patch to sort nested items from faceted.wordpress.com (Resolves #987) | Sol Jerome | 2011-02-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | SSHbase: Fix hang when file not present on client | Sol Jerome | 2011-01-31 | 1 | -3/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Properties: Catch exception when missing Properties directory | Sol Jerome | 2011-01-28 | 1 | -1/+6 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Metadata: Handle writes to XInclude files in bootstrap mode | Tim Laszlo | 2011-01-28 | 1 | -3/+19 |
| | |||||
* | Metadata: Handle writes to XInclude files within clients.xml (Resolves #841) | Tim Laszlo | 2011-01-28 | 1 | -12/+28 |
| | |||||
* | added verification of cert against key, and ensured plugins entries get ↵ | Graham Hagger | 2011-01-26 | 1 | -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 used | Tim Laszlo | 2011-01-24 | 1 | -0/+17 |
| | |||||
* | Metadata: Typo in XIncludeError | Tim Laszlo | 2011-01-24 | 1 | -1/+1 |
| | |||||
* | Metadata: Stop stripping comments from clients.xml (Resolves #929) | Tim Laszlo | 2011-01-24 | 1 | -10/+2 |
| | |||||
* | Metadata: Raise MetadataConsistencyError when set_profile fails | Tim Laszlo | 2011-01-23 | 1 | -0/+1 |
| | |||||
* | Metadata: Gracefully handle failed profile updates to clients.xml using ↵ | Tim Laszlo | 2011-01-23 | 1 | -1/+5 |
| | | | | xinclude files | ||||
* | Cfg: Handle empty genshi templates (Ticket #948) | Tim Laszlo | 2011-01-23 | 1 | -0/+2 |
| |