Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version bump to 1.2.0pre2v1.2.0pre2 | Sol Jerome | 2011-04-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | unexpanded vcs keywords raise warning, not error | Chris St. Pierre | 2011-04-25 | 1 | -2/+2 |
| | |||||
* | Various bcfg2-lint fixes: | Chris St. Pierre | 2011-04-25 | 4 | -105/+115 |
| | | | | | | | | * check for all plugins before referencing them, since in --stdin mode even plugins like Bundler may not be instantiated * formatting fixes * made Bundles plugin work with or without genshi installed * fixed name of plugin in example bcfg2-lint.conf | ||||
* | Misc. bcfg2-lint fixes and tweaks: | Chris St. Pierre | 2011-04-21 | 3 | -6/+4 |
| | | | | | | * fixed bcfg2-lint bug with older pythons * made bcfg2-lint silent by default on success * adjusted bcfg2-lint defaults and alerting levels to work better out-of-the-box | ||||
* | Lots of cleanup for bcfg2-repo-validate rewrite: | Chris St. Pierre | 2011-04-21 | 1 | -4/+8 |
| | | | | | | | | | * Changed all references to bcfg2-repo-validate in the documentation to bcfg2-lint * Wrote man pages for bcfg2-lint and bcfg2-lint.conf * Cleaned up straggling references to bcfg2-repo-validate in Makefiles, spec files, and the POSIX tool * A few minor bug fixes | ||||
* | fixed duplicate group detection in Metadata | Chris St. Pierre | 2011-04-20 | 1 | -2/+1 |
| | |||||
* | short-circuit Pkgmgr lint checks if Pkgmgr plugin not enabled | Chris St. Pierre | 2011-04-20 | 1 | -0/+4 |
| | |||||
* | Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a plugin | Chris St. Pierre | 2011-04-20 | 8 | -0/+733 |
| | | | | | | | | | interface to be lots more flexible and extensible. Added several more tests. If bcfg2-lint is run as bcfg2-repo-validate, it roughly emulates the functionality of that program. TODO: Need to figure out correct way to symlink bcfg2-repo-validate to bcfg2-lint on install. | ||||
* | Reports: Fix import error (Reported by emias on IRC) | Sol Jerome | 2011-04-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | 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 | 2 | -19/+25 |
| | |||||
* | Init: Fix SyntaxError (Reported by emias on IRC) | Sol Jerome | 2011-04-12 | 1 | -10/+3 |
| | | | | | | | | Python < 2.6 uses the '0600' format for specifying the mode while 2.6 and later allow the use of '0o600'. Since python 3 forces the latter, we can use the stat module to maintain compatibility with both. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Editor: Add missing comma (Reported by emias) | Sol Jerome | 2011-04-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | added next() method to Reports BatchFetch iterator for compatibility with ↵ | Chris St. Pierre | 2011-04-12 | 1 | -0/+4 |
| | | | | pre-3.0 versions of python | ||||
* | Reports: Use the newer DATABASES option in settings.py | Tim Laszlo | 2011-04-11 | 1 | -19/+28 |
| | |||||
* | Reports: delete orphaned Reasons after the purge command is run | Tim Laszlo | 2011-04-11 | 1 | -0/+2 |
| | |||||
* | PY3K + PEP8 fixes for remaining files | Sol Jerome | 2011-04-07 | 6 | -78/+96 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-admin: PY3K + PEP8 fixes | Sol Jerome | 2011-04-06 | 14 | -180/+296 |
| | | | | 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 | 17 | -201/+328 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reports: Fix deprecated 'raise' usage | Sol Jerome | 2011-04-06 | 2 | -7/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reports: PY3K + PEP8 fixes | Sol Jerome | 2011-04-06 | 10 | -223/+344 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | sensible defaults for the Django module admin email addresses | Chris St. Pierre | 2011-04-05 | 2 | -2/+2 |
| | |||||
* | Fixed previous commit. Decorators are hard, let's go shopping. | Chris St. Pierre | 2011-03-30 | 1 | -2/+2 |
| | |||||
* | Use self.log.info() instead of 'print' to produce stats for | Chris St. Pierre | 2011-03-30 | 1 | -6/+10 |
| | | | | 'bcfg2-admin reports purge' to make purge honor -q flag. | ||||
* | Convert hostbase/reports files to unix file formats | Sol Jerome | 2011-03-17 | 3 | -75/+75 |
| | | | | 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> | ||||
* | Reports: Disable template loading from Python eggs | Sol Jerome | 2011-02-21 | 1 | -1/+0 |
| | | | | | | | | | | | | This does not appear to work with the default settings for some distributions. Here is what happens on Ubuntu: [error] /usr/lib/pymodules/python2.6/django/template/loader.py:64: UserWarning: Your TEMPLATE_LOADERS setting includes 'django.template.loaders.eggs.load_template_source', but your Python installation doesn't support that type of template loading. Consider removing that line from TEMPLATE_LOADERS. This appears to be disabled in django by default as per http://docs.djangoproject.com/en/dev/ref/templates/api/#loading-templates. 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 | 2 | -56/+29 |
| | |||||
* | 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 | ||||
* | export: Update version number for reports | Sol Jerome | 2011-01-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | 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 |
| |