summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Better handling of backup files in paranoid mode (Patch from mkd ticket #995)Sol Jerome2011-03-061-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. Pierre2011-03-041-1/+1
| | | | (non-greedy matching)
* APT/YUMng: Remove stray punctuationSol Jerome2011-03-012-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Fix usage helpSol Jerome2011-03-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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>
* YUMng: Fix handling of gpg-pubkey packages by yum 3.2.20 on SLESChris St. Pierre2011-02-241-1/+6
|
* Service: Allow services that are both supervised and custom (Ticket #979)Chris St. Pierre2011-02-241-4/+2
|
* 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>
* POSIX: Implement recursive attribute for nonexistent PathsSol Jerome2011-02-212-7/+31
| | | | | | | | 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 eggsSol Jerome2011-02-211-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 Jerome2011-02-141-0/+1
| | | | | | | | (Resolves #988) Patch made available in ticket report. 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-102-56/+29
|
* 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
* export: Update version number for reportsSol Jerome2011-01-241-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSLServer: Stop raising trapped exceptions from XMLRPCRequestHandler. ↵Tim Laszlo2011-01-241-1/+3
| | | | Causes the server to wedge. (Resolves #970)
* 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
|
* client tools: Add verification failure suggestion (Resolves #724)Sol Jerome2011-01-222-0/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'master' of https://github.com/jdigilio/bcfg2Sol Jerome2011-01-221-17/+24
|\
| * Support ability to pass parameters to Upstart servicesJoe Digilio2011-01-221-17/+24
| |
* | Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-01-221-0/+229
|\|
| * Ldap: New server ldap pluginTorsten Rehn2011-01-221-0/+229
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Chkconfig: track supervised services properly (Resolves Ticket #856)Narayan Desai2011-01-221-2/+2
|/
* bcfg2-info: switch to using POSIX driver for builddir (Resolves Ticket #760)Narayan Desai2011-01-221-40/+21
|
* Metadata: report multiple group definitions (Resolves Ticket #784)Narayan Desai2011-01-221-0/+5
|
* bcfg2-info: print error message when buildfile fails (Resolves Ticket #804)Narayan Desai2011-01-221-4/+7
|
* EntrySet: Add generic ignore support for files named \*.genshi_include, ↵Narayan Desai2011-01-221-1/+1
| | | | enabling splitting of genshi templates (Resolves Ticket #897)
* Cfg: pull file permissions defaults uniformly (Resolves Ticket #958) (Patch ↵Narayan Desai2011-01-221-4/+4
| | | | from unidentified openid user)
* APT: Enforce appearance of /usr/sbin and /sbin in PATH (Resolves Ticket #968)Narayan Desai2011-01-221-1/+5
|
* Probes: Order stored items in probed.xml (Resolves Ticket #982)Narayan Desai2011-01-221-1/+1
|
* Component: Switch to pre-PEP318 function decoratorsSol Jerome2011-01-131-2/+2
| | | | | | | | | Having the new style for function decorators causes issues when building the Bcfg2 client on CentOS 4 which is still shipping with python 2.3. This patch keeps the same functionality with the old syntax (can be reverted once we drop support for python 2.3 on the client). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* YUM24: New client tool from Jack Neely for older yum clients (Resolves ↵Sol Jerome2011-01-131-0/+421
| | | | | | Ticket #935) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Bcfg2: handle server strings that don't start with https:// (Resolves Ticket ↵Narayan Desai2011-01-121-0/+2
| | | | #975)
* DebInit: Account for future lenny updates (Resolves Ticket #977)Sol Jerome2011-01-121-5/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* APT: Enable debugging output from apt-getRichard Connon2011-01-111-8/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>