summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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-135-5/+5
| | | | performance
* fixed bugs in Packages implementation of SimpleConfigChris St. Pierre2012-01-132-14/+13
|
* merged branch rules_regexChris St. Pierre2012-01-136-60/+41
|\
| * added SimpleConfig plugin for easy config files; made Packages and Rules use ↵Chris St. Pierre2011-12-306-60/+41
| | | | | | | | 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
| |
* | made Rules try matching Path entries with and without trailing slash (#967)Chris St. Pierre2012-01-101-0/+8
| |
* | fixed logging in GroupPatternsChris St. Pierre2012-01-091-3/+3
| |
* | improved error handling of GroupPatternsChris St. Pierre2012-01-091-8/+11
| |
* | 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
|
* 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-102-3/+3
| | | | | | | | 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-092-3/+3
| | | | | | In earlier versions of python commas (,) could be used in except statements. The new way is to use 'as'.
* 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
* 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.
* 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>
* SSLCA: Fix hang when calling opensslJake Davis2011-11-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSLCA: Fix ConfigParser() callsSol Jerome2011-11-041-2/+2
| | | | 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
|
* fixed several bugs with creation of new ssh host keysChris St. Pierre2011-10-281-12/+30
|
* got a little overzealous with the .rstrip()Chris St. Pierre2011-10-281-1/+1
|
* fixed bug with inclusion of bogus ssh host keys in ssh_known_hostsChris St. Pierre2011-10-271-0/+2
|
* Add a number of features to SSHbase:Chris St. Pierre2011-10-272-133/+197
| | | | | | | * Support for group-specific host keys * Support for fully static host- and group-specific ssh_known_hosts * (Support for totally generic host keys and ssh_known_hosts, too, but that's pretty useless.) * Support for info.xml, info, and :info files; only info.xml is likely to be useful, with the <Path> directive
* ensure that source cache files do not get cleared on server startupChris St. Pierre2011-10-241-2/+3
|
* added timestamp attribute to Probe dataChris St. Pierre2011-10-241-7/+20
|
* SSHbase: ECDSA key support from ticket #1063Sol Jerome2011-10-201-2/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* avoid backtrace when bcfg2-yum-helper does not existChris St. Pierre2011-10-191-1/+8
|
* Various Packages plugin fixes:Chris St. Pierre2011-10-196-367/+231
| | | | | | | | | | | | | * Added bcfg2-yum-helper to offload Yum API calls to a short-lived process. As absurd as this is, it appears to be the standard way to get around Yum's atrocious memory handling (cf. yum-updatesd). * Added SourceInitError for non-fatal errors instantiating new sources. * Fixed bug that caused all cached data to be removed on server startup (reported by mikemccllstr on IRC). * Fixed a number of overly aggressive caching issues. * Fixed the way sources are loaded at server startup. * Fixed handling of Yum package groups.
* Improve error handling of Packages plugin.Mike McCallister2011-10-157-40/+42
| | | | | | | | | | | | Provide a descriptive error message that avoids logging a traceback. Error out (instead of continuing) upon receiving an HTTP error or an indication that the URL is malformed. Only write data to the cache file if it was successfully retrieved from the URL. Make log messages for Packages plugin use consistent "Packages:" prefix.
* Replaced print statements in Packages with logger calls.Mike McCallister2011-10-152-4/+4
|
* Implement the preceeding change for SGenshi, too.Mike McCallister2011-10-151-1/+2
| | | | This is where the mistaken Bundle names were being generated.
* Avoid reporting Genshi bundles as missingMike McCallister2011-10-151-1/+2
| | | | | | | | | | | | | Genshi bundles were reported as missing in the configuration with error messages like the following: Client CLIENTNAME configuration missing bundles: GBUNDLE1:GBUNDLE2 This seems to be caused by the Bundle name being derived from the filename, which was assumed to end in a four character extension of ".xml". When the extension was actually ".genshi", the ".ge" portion was left behind, and the code couldn't match up the requested bundles with the generated bundles.
* improve error logging during LDAP query processingTorsten Rehn2011-10-131-7/+14
| | | | | | | | This replaces the mostly useless error messages likes LdapPlugin error: list index out of range with information about which query failed and a traceback for debugging
* fixed inclusion of group packagesChris St. Pierre2011-10-122-4/+12
| | | | fixed loading of sources at server startup
* Cfg: Add support for .cheetah filesJoe Digilio2011-10-121-1/+30
|
* only cache packages from a package set, not unknownsChris St. Pierre2011-10-121-5/+7
|
* Cfg: Use two-digit group prioritiesSol Jerome2011-10-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed variable name typoChris St. Pierre2011-10-101-3/+3
|
* don't cache collections by hostname; this could lead to bad data if a host ↵Chris St. Pierre2011-10-072-30/+17
| | | | changes OS
* * Added support for yum libraries (if available and configured). ThisChris St. Pierre2011-10-079-1328/+2145
| | | | | | | | | | | | | | | | | | can dramatically reduce memory usage, and fixed several bugs: * #1014 (Package plugin can't resolve dependencies for rpms with Require: tags for full paths that aren't Provided explicitly) * #991 (Dependency Resolution difference between Package and yum) * #996 (Packages high memory usage) * Added support for Yum package groups when using yum libraries (#1039) * Fixed #911 (bcfg2 output for wrong package version with Packages is misleading) * YUMng turns down the Yum debug level itself depending on the debug/verbosity level requested by bcfg2 so you don't have to reduce the Yum debug level on a global basis * Added support for Pulp repositories, including registering Pulp consumers and binding to repositories * Added ability to disable magic OS groups