Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 11 | -224/+345 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | APT: Catch apt-python initialization failures (#1001) | Sol Jerome | 2011-04-06 | 1 | -1/+5 |
| | | | | | | | This still needs to be fixed in apt-python, but we can at least give the user a smarter failure and disable the client tool properly here. 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 |
| | |||||
* | Proxy: Fix for Python 2.7 xmlrpclib Transport class (Patch from Gordon Messmer) | Sol Jerome | 2011-04-03 | 1 | -6/+12 |
| | | | | | | | | Something changed in Python 2.7 with respect to the xmlrpclib.Transport api such that you need to store the authentication headers in self.extra_headers so that they are sent to the server properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | 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. | ||||
* | add ability to ignore a debian Service | Joe Digilio | 2011-03-25 | 2 | -0/+8 |
| | |||||
* | Add error checking to make sure gpg-pubkeys have all needed information | Jack Neely | 2011-03-17 | 1 | -0/+8 |
| | | | | (cherry picked from commit 81fce09fb9671c652703c37a5f9b48d020a34307) | ||||
* | 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> | ||||
* | Better handling of backup files in paranoid mode (Patch from mkd ticket #995) | Sol Jerome | 2011-03-06 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | 1. Client removes only one excess backup copy at every configfile change, even if there are more backup copies eligible for deletion. Moreover, lowering the max_copies parameter could cause client to never remove any excess files from there. 2. Space character in backup file names is mildly annoying - datetime.isoformat() will put a 'T' there instead. 3. More robust handling of 'paranoid' attribute values from info.xml (paranoid='True' should also be allowed - currently only paranoid='true' works as expected). A simple patch (attached) addresses all these issues. /mkd 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) | ||||
* | APT/YUMng: Remove stray punctuation | Sol Jerome | 2011-03-01 | 2 | -2/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | 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> | ||||
* | YUMng: Fix handling of gpg-pubkey packages by yum 3.2.20 on SLES | Chris St. Pierre | 2011-02-24 | 1 | -1/+6 |
| | |||||
* | Service: Allow services that are both supervised and custom (Ticket #979) | Chris St. Pierre | 2011-02-24 | 1 | -4/+2 |
| | |||||
* | 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> | ||||
* | POSIX: Implement recursive attribute for nonexistent Paths | Sol Jerome | 2011-02-21 | 1 | -6/+30 |
| | | | | | | | | The POSIX client tool now has the ability to recursively remove the contents of a specified directory provided there are no other managed entries under the directory. 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> | ||||
* | SMF: Reports current service status when using the Solaris SMF driver. ↵ | Sol Jerome | 2011-02-14 | 1 | -0/+1 |
| | | | | | | | | (Resolves #988) Patch made available in ticket report. 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> | ||||
* | SSLServer: Stop raising trapped exceptions from XMLRPCRequestHandler. ↵ | Tim Laszlo | 2011-01-24 | 1 | -1/+3 |
| | | | | Causes the server to wedge. (Resolves #970) | ||||
* | 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 |
| | |||||
* | TGenshi: Handle empty files (Resolves #948) | Tim Laszlo | 2011-01-23 | 1 | -0/+2 |
| | |||||
* | Cfg: Add support for .genshi files | Tim Laszlo | 2011-01-22 | 1 | -7/+48 |
| | |||||
* | client tools: Add verification failure suggestion (Resolves #724) | Sol Jerome | 2011-01-22 | 2 | -0/+6 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge branch 'master' of https://github.com/jdigilio/bcfg2 | Sol Jerome | 2011-01-22 | 1 | -17/+24 |
|\ | |||||
| * | Support ability to pass parameters to Upstart services | Joe Digilio | 2011-01-22 | 1 | -17/+24 |
| | | |||||
* | | Merge branch 'master' of git.mcs.anl.gov:bcfg2 | Narayan Desai | 2011-01-22 | 1 | -0/+229 |
|\| | |||||
| * | Ldap: New server ldap plugin | Torsten Rehn | 2011-01-22 | 1 | -0/+229 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> |