summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge branch 'plugin/ldap/dev/trehn' of https://github.com/trehn/bcfg2Sol Jerome2011-10-131-7/+14
|\
| * 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
* | Proxy: Provide proper error message for misconfigured CA (#1059)Sol Jerome2011-10-131-0/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | SSLServer: Fix traceback in xcmd toggle_debugSol Jerome2011-10-131-1/+2
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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
|
* APK: Pylint/PEP8 fixesSol Jerome2011-10-111-8/+12
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'apk' of https://github.com/fabaff/bcfg2Sol Jerome2011-10-113-4/+62
|\
| * Initial support for the APK management in Alpine Linux. Fabian Affolter2011-10-111-0/+58
| | | | | | | | | | This is highly experimental. All credits goes to Cameron Banta.
| * Minor changesFabian Affolter2011-10-112-4/+4
| |
* | 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-0714-1355/+2194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | fixed issue with bogus filenames in Bundler in a more generic way for all ↵Chris St. Pierre2011-10-052-10/+4
| | | | | | | | DirectoryBacked plugins
* | make Bundler skip unknown filenames; this prevents an occasional stack trace ↵Chris St. Pierre2011-10-051-2/+7
| | | | | | | | when the Svn2.Update procedure is called
* | Core: Fix log message for #1053Sol Jerome2011-09-221-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-lint: Honor the "empty" attributeHolger Weiß2011-09-211-1/+2
| | | | | | | | | | When checking <Path type="file"> entries, don't complain about missing text if the "empty" attribute is set to true.
* | bug fix : pop vs. removeChris St. Pierre2011-09-211-1/+1
| |
* | fixed previous commit so that SingleXMLFileBacked plugins use xinclude, and ↵Chris St. Pierre2011-09-192-24/+31
| | | | | | | | GroupPatterns uses SingleXMLFileBacked correctly
* | made all XMLFileBacked plugins (e.g., GroupPatterns) support XIncludeChris St. Pierre2011-09-192-11/+31
| |
* | added Defaults pluginChris St. Pierre2011-09-196-52/+130
| |
* | APT: Add filter for deprecated API accessHolger Weiß2011-09-181-0/+1
| | | | | | | | This access is triggered by running "bcfg2 -r Packages".
* | Cleaned up path handling in bcfg2-admin init.Kamil Kisiel2011-09-171-12/+13
| | | | | | | | | | | | | | Now uses absolute paths so the config file works correctly if the user inputs relative paths. Also simplified the config file template a bit as a result.
* | Simplified py3k compatibility in bcfg2-admin initKamil Kisiel2011-09-171-77/+26
| |
* | SSLServer.py: 'bytes' not available in python 2.5Sol Jerome2011-09-161-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Reports: Fix exception handling (#1035)Sol Jerome2011-09-151-3/+11
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | SSLServer: Fix traceback in bcfg2-admin perf (#1042)Sol Jerome2011-09-151-4/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed bugs introduced by <Group>/<Client> tags in templated bundlesChris St. Pierre2011-09-153-6/+4
| |
* | made templated bundles understand <Group> and <Client> tagsChris St. Pierre2011-09-151-4/+22
| |
* | Options: Fix paranoid = false in bcfg2.conf (#1048)Sol Jerome2011-09-141-1/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | POSIX: Honor the user's umaskHolger Weiß2011-09-141-7/+7
| | | | | | | | | | | | | | | | The umask was set to zero in order to address the issue that mknod(2)'s mode argument is modified by the process's umask. However, this umask setting also affected auto-created parent directories of configuration entries: their permissions were set to `drwxrwxrwx'. So, we now call chmod(2) after mknod(2) instead of setting the umask to zero.
* | Fix predicate call from PkgmgrCalen Pennington2011-09-141-2/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Packages: Properly detect when user didn't create sources.xmlanatoly techtonik2011-09-121-1/+4
| |
* | DebInit: Always initialize "start_sequence"Holger Weiß2011-09-121-0/+1
| | | | | | | | | | | | Make sure the "start_sequence" variable is initialized. This fixes a traceback which occurred when a <Service> "sequence" has been specified on Debian systems which use dependency-based booting.
* | bcfg2: Ignore "-l" if configuring from a fileHolger Weiß2011-09-121-17/+17
| | | | | | | | | | | | | | | | | | The "-f" option, which tells the client to configure from a file rather than querying the server, cannot be combined with the "-l" option (nor with the equivalent setting in the bcfg2.conf(5) file), as a decision list won't be available. Instead of crashing (with a KeyError: 'decision_list'), the client will now ignore the "-l" option if the "-f" option also is specified.
* | Packages: Fix traceback when sources.xml is missing (#1043)Sol Jerome2011-09-121-1/+6
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | DebInit: Check for .legacy-bootordering fileHolger Weiß2011-09-121-1/+2
| | | | | | | | | | | | If the file /etc/init.d/.legacy-bootordering exists, dependency-based booting isn't used, even when running on Debian releases newer than lenny.
* | Base plugin is deprecated in 1.2.0anatoly techtonik2011-09-101-1/+0
| |
* | make it clear that default list of plugins is taken from ↵anatoly techtonik2011-09-101-7/+2
| | | | | | | | Options.SERVER_PLUGINS.default
* | Admin: Fix traceback when missing section from bcfg2.confSol Jerome2011-09-101-1/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Options: Clarify interactive mode descriptionSol Jerome2011-09-101-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Mark entry as modified only if Install() succeededHolger Weiß2011-09-072-2/+4
|/ | | | | The client now makes sure that an entry won't be reported as modified if the Install() method which handled the entry returned False.
* fixed indentation bug in SSHbase introduced in ↵Chris St. Pierre2011-09-061-26/+24
| | | | cb8b988774c573bb8f6840aa60be0ced60323940
* Make database_port setting optionalHolger Weiß2011-09-041-1/+4
| | | | | | Make the database_port configuration parameter optional (as documented in doc/reports/dynamic.txt). The default port will now be used if the database_port is not explicitly set.
* Don't omit "important" entries from reportsHolger Weiß2011-09-041-0/+1
| | | | | Fix the problem that modified entries weren't included in the client statistics if their "important" attribute was set to "true".
* fix traceback when packages.conf doesn't exist or there is no [global]Joe Digilio2011-09-021-0/+2
| | | | | section. (cherry picked from commit 54e70421bd1aea5bdd495cf48767b88cfe82b3b1)
* Version bump to 1.2.0rc1v1.2.0rc1Sol Jerome2011-09-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>