summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fixed typoChris St. Pierre2012-01-191-1/+1
|
* Move sorting to the server core, rather than just in bcfg2 infoCalen Pennington2012-01-182-10/+12
|
* Sort xml by name, so that output is consistent between runs, making diffing ↵Calen Pennington2012-01-181-1/+10
| | | | easier
* fixed edge case where the same package exists in two repos available to the ↵Chris St. Pierre2012-01-181-1/+2
| | | | same client
* improved logging/debugging from bcfg2-yum-helperChris St. Pierre2012-01-181-22/+53
|
* Set YumBase config properly (#1073)Chris St. Pierre2012-01-171-0/+1
|
* Since XMLSrc doesn't return anything from Cache(), don't bother looking at ↵Calen Pennington2012-01-171-5/+3
| | | | the results
* disable yum debug entirely by defaultChris St. Pierre2012-01-171-1/+1
|
* catch more errors to avoid tracebacksChris St. Pierre2012-01-171-4/+4
|
* Only use a minimal filemonitor for testingCalen Pennington2012-01-161-2/+3
| | | | (cherry picked from commit 18fbd90fb23a7e9c7a79fcfa3e570be45996a043)
* fixed setting yum debuglevelChris St. Pierre2012-01-131-0/+1
|
* Explicitly use child.attrib.keys(), rather than expecting child.attrib to ↵Calen Pennington2012-01-131-1/+1
| | | | interpreted as a list of keys
* Don't do duplicate work while matching bundle entriesCalen Pennington2012-01-131-2/+6
|
* Use set differences, rather than list inclusion in PkgmgrCalen Pennington2012-01-131-2/+3
|
* cherry-picked a2cc392 Switch to shallow rather than deep copies to improve ↵Chris St. Pierre2012-01-138-13/+12
| | | | performance
* Use cProfile if available, otherwise use standard python profileCalen Pennington2012-01-131-1/+4
| | | | | | | cProfile, when available (python >= 2.5), gives enhanced profiling of c calls (and has a lower overhead). This means it's possible to find things like socket.gethostbyname that might be eating up large amounts of time (without showing up in the standard profile reports).
* Use native elementtree call to write configuration to diskCalen Pennington2012-01-131-4/+1
| | | | | This simplifies the logic, although it doesn't have any measurable performance improvements.
* avoid traceback for socket.error during proxyChris St. Pierre2012-01-131-6/+3
|
* fixed bugs in Packages implementation of SimpleConfigChris St. Pierre2012-01-132-14/+13
|
* merged branch rules_regexChris St. Pierre2012-01-137-60/+90
|\
| * added SimpleConfig plugin for easy config files; made Packages and Rules use ↵Chris St. Pierre2011-12-307-60/+90
| | | | | | | | SimpleConfig; made regex in rules off by default, but configurable in rules.conf
* | only include .xml files in PropertiesChris St. Pierre2012-01-121-0/+2
| |
* | added __str__ and __repr__ to FileBacked plugins to make bcfg2-info ↵Chris St. Pierre2012-01-121-0/+9
| | | | | | | | showclient Properties output prettier
* | Merge pull request #11 from wgen/bcfg2-info-filemonitorChris St. Pierre2012-01-121-1/+1
|\ \ | | | | | | Fix how the filemonitor is passed in bcfg2-info
| * | Fix how the filemonitor is passed to core, so that it's actually passed as ↵Calen Pennington2012-01-121-1/+1
| | | | | | | | | | | | the filemonitor parameter
* | | abstracted two separate YumBase instantiations into _loadYumBase()Chris St. Pierre2012-01-121-37/+48
| | |
* | | Reload all Yum configuration before any install operation.Jack Neely2012-01-111-0/+10
|/ / | | | | | | | | | | | | | | | | | | This fixes a condition where it would take two Bcfg2 runs to properly deploy new packages. Prior, if new specification deployed a new Yum .repo file and new packages from that new repo, Bcfg2 would not be able to install the new packages until the second run. This change causes Yum to reload all of its configuration and incorperate any new .repo files before attempting to install packages. (cherry picked from commit 059d37b2c385a848764c631d0d735a51908de0cf)
* | Teach bcfg2-info to use the filemonitor specified in the config fileCalen Pennington2012-01-111-4/+4
| |
* | made Rules try matching Path entries with and without trailing slash (#967)Chris St. Pierre2012-01-101-0/+8
| |
* | fixed deprecation warningChris St. Pierre2012-01-101-1/+1
| |
* | consistent help messages from bcfg2-admin/bcfg2-info (bug #1033)Chris St. Pierre2012-01-102-3/+8
| |
* | properly construct ProxyError to avoid occasional errors on Python 2.6Chris St. Pierre2012-01-101-6/+8
| |
* | fixed logging in GroupPatternsChris St. Pierre2012-01-092-5/+3
| |
* | fixed setting debuglevel on SLES 11 yumChris St. Pierre2012-01-091-1/+1
| |
* | added bcfg2-lint plugin for GroupPatternsChris St. Pierre2012-01-092-2/+34
| |
* | improved error handling of GroupPatternsChris St. Pierre2012-01-091-8/+11
| |
* | added logger object to FileBacked pluginsChris St. Pierre2012-01-091-1/+3
| |
* | strip trailing slash from key URL to avoid funky tracebackChris St. Pierre2012-01-031-1/+2
| |
* | fixed handling of new probed base64-encoded filesChris St. Pierre2011-12-301-1/+1
|/
* fixed FileProbes handling of base64-encoded filesChris St. Pierre2011-12-281-5/+15
|
* fixed typo in FileProbesChris St. Pierre2011-12-281-1/+1
|
* Merge pull request #4 from wgen/error_handlingRaul Cuza2011-12-231-3/+5
|\ | | | | Mark all errors during binds as failures in the result elements
| * Add the failure attribute on unknown bind errors, as well as on ↵Calen Pennington2011-12-121-3/+5
| | | | | | | | PluginExecutionErrors
* | fixed logic for file creation; only write info.xml if none existsChris St. Pierre2011-12-211-3/+3
| |
* | fixed typoChris St. Pierre2011-12-141-3/+3
| |
* | Revert "Correct syntax for try/except statements."Raul Cuza2011-12-104-5/+5
| | | | | | | | | | | | | | | | This commit is not compatable with Python 2.4 and below. Our goal is to support for the foreseeable future 2.4+ for Bcfg2 server and 2.3+ for Bcfg2 client. This reverts commit 4310284f6df01caf1b686c9bac8955364a895755.
* | Correct syntax for try/except statements.Raul Cuza2011-12-094-5/+5
| | | | | | | | | | | | In earlier versions of python commas (,) could be used in except statements. The new way is to use 'as'.
* | Remove problematic tabs from file.Raul Cuza2011-12-091-1/+1
| | | | | | | | * Ticket 1080
* | Improve code readability.Raul Cuza2011-12-091-1/+2
|/
* Add a tool to build all the client configurations and verify that they ↵Calen Pennington2011-12-071-0/+67
| | | | contain no failures