summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | 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)
* | 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
| |
* | 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
|/
* Version bump to 1.2.0v1.2.0Sol Jerome2011-12-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added FAM wait loops in FileProbes to ensure that the file copied out is the ↵Chris St. Pierre2011-12-041-20/+57
| | | | file that was just probed
* make yum debug level adjustments work with older yumChris St. Pierre2011-12-021-4/+10
|
* Packages: Don't reverse the order of <Source>sHolger Weiß2011-12-021-5/+0
| | | | | | | | If a package is available in multiple repositories, the first one specified in the sources.xml file should be used for dependency resolution. In the past, the Packages code had to reverse the internal order of sources to achieve this effect; with the current code, this is no longer the case.
* SSHbase: Don't mark keys as "sensitive" by defaultHolger Weiß2011-12-021-1/+0
| | | | | | By default, don't set the "sensitive" attribute for private SSH keys, as this breaks pulling them with bcfg2-admin. Users can set the attribute in an info.xml file.
* improved error/debugging messages from YUMngChris St. Pierre2011-11-291-4/+9
|
* Use new python-apt API and fall back to the old API when new API isn't availableJeroen Dekkers2011-11-231-23/+52
|
* made error handling from bcfg2 client more consistent; avoid someChris St. Pierre2011-11-231-4/+35
| | | | backtraces
* fixed url for all historical runs for a clientChris St. Pierre2011-11-211-1/+1
|
* Client: Include xincluded files in listSol Jerome2011-11-181-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added support for default/mandatory/optional package groupsChris St. Pierre2011-11-174-8/+14
|
* Packages: Fix md5 importRob Lemley2011-11-112-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Chkconfig: Minor PEP8 fixSol Jerome2011-11-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSLCA: Fix hang when calling opensslJake Davis2011-11-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Portage: Turn off pipe detection in equerySol Jerome2011-11-061-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Portage: Add globbing to produce old gentoolkit behaviorSol Jerome2011-11-041-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Show prompt when only the permissions of a file have changed, and notJoe Digilio2011-11-041-0/+6
| | | | the contents.
* SSLCA: Fix ConfigParser() callsSol Jerome2011-11-041-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* VCS: Fix traceback when destination directory existsSol Jerome2011-11-041-0/+13
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSHbase: Sort ssh_known_host entries by hostnameHolger Weiß2011-11-021-1/+2
| | | | | Sort the (non-static) public keys in the auto-generated ssh_known_hosts files by hostname (or group).
* SSHbase: Add missing newlineHolger Weiß2011-11-021-1/+1
| | | | | A newline character was missing before the first localhost entry in the ssh_known_hosts files created by SSHbase.
* avoid backtrace if bcfg2-yum-helper fails to resolve a groupChris St. Pierre2011-11-011-1/+5
|
* removed unnecessary caching from Yum Packages handlerChris St. Pierre2011-11-011-131/+4
|
* Some housekeeping in Logger.pyKamil Kisiel2011-10-311-128/+45
| | | | | Removed apparently unused functions (checked via grep) Refactored setup_logging in to several functions for clarity.