summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
Commit message (Collapse)AuthorAgeFilesLines
* Packages: fixed read-only yum cacheChris St. Pierre2013-07-181-29/+4
| | | | | | Replaced incredibly stupid (mea culpa!) and race-condition-prone system that toggled filesystem permissions (what was I thinking?!?) with judicious application of the yum cacheonly option.
* Packages: better stringification/representation of OnDemandDictChris St. Pierre2013-07-181-1/+1
|
* Packages: use a separate yum persistdir per cacheChris St. Pierre2013-07-181-0/+1
|
* Packages: added missing docstringChris St. Pierre2013-07-151-0/+3
|
* Read-only yum cacheChris St. Pierre2013-07-153-27/+122
| | | | | | | | | | | | | | | | This makes the yum cache read-only so that bcfg2-yum-helper cannot update the cache on the fly, which should help avoid locking issues with the yum caches that can cause client runs to fail. It also makes the Packages plugin behave more consistently, since use of yum libraries won't cause the cache to be refreshed at random times on the fly, but rather more predictably as with the Apt cache or the yum cache without using yum libraries. Unlike those two cases, though, the caches will not all be downloaded initially, but rather opportunistically as needed. In order for this to work, the Bcfg2 server must not run as root. Root ignores the 'w' permissions bit, so the cache cannot be made read-only.
* Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
|
* Yum: fixed logging bcfg2-yum-helper error outputChris St. Pierre2013-06-191-1/+3
|
* Yum: fixed yum-helper logging for real this time, i totally swearChris St. Pierre2013-06-131-1/+1
|
* Yum: fixed verbose logging from bcfg2-yum-helperChris St. Pierre2013-06-131-1/+1
|
* Yum: handle and log helper errors betterChris St. Pierre2013-06-131-5/+16
|
* Packages: handle bcfg2-yum-helper failures more gracefullyChris St. Pierre2013-06-031-10/+22
|
* Yum: prevent traceback with empty repositoryChris St. Pierre2013-05-211-2/+2
|
* Packages: don't cache package collections with no sourcesChris St. Pierre2013-05-211-2/+3
|
* Packages: handle URLErrors (e.g., timeouts) when downloading GPG keys betterChris St. Pierre2013-05-101-2/+2
|
* APT: Allow specification of deb-src lines (Resolves #1148)Sol Jerome2013-05-102-0/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Fix Apt dependency resolution for py3kSol Jerome2013-04-121-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Read cache files using binary formatSol Jerome2013-04-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Write Packages cache in binary formatSol Jerome2013-04-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* remove some unnecessary __all__ variablesChris St. Pierre2013-03-291-1/+2
|
* Change generated APT sources default to someplace APT will actually look, ↵Phil Miller2013-03-281-1/+1
| | | | and avoid potential name conflicts there
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-0/+1
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-263-5/+5
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-264-18/+18
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-8/+3
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Packages: add and expose get_config() function to get configs for other hostsChris St. Pierre2013-03-252-2/+11
|
* Revert "Packages: expose full source list via Connector interface"Chris St. Pierre2013-03-251-3/+1
| | | | This reverts commit fe7a3e9c7a7d66cccbd825465cefcf88165a0c3a.
* Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-253-26/+4
| | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
* Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-253-4/+26
|
* Packages: expose full source list via Connector interfaceChris St. Pierre2013-03-251-1/+3
|
* fixed unit testsChris St. Pierre2013-03-211-4/+3
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-1/+1
| |
* | YUM: Fixing long linesJason Kincl2013-02-241-2/+5
| |
* | Packages: Adding Yum groups to Bcfg2's internal dependency resolverJason Kincl2013-02-221-13/+72
| |
* | YUM: Adding functionality to YUM client tool to resolve YUM groups when ↵Jason Kincl2013-02-221-0/+5
| | | | | | | | server-side resolver is off
* | Packages: fixed overzealous deduplication of packages that removed essential ↵Chris St. Pierre2013-02-221-6/+8
|/ | | | and group packages
* Packages: fixed several bugs that could cause duplicate Package entriesChris St. Pierre2013-02-062-14/+18
|
* Packages: removed unnecessary nested functionsChris St. Pierre2013-01-231-42/+41
|
* Packages: only convert package entry to tuple if yum libraries are usedChris St. Pierre2013-01-231-0/+6
|
* Packages: fixed bug with display of package entries that have been converted ↵Chris St. Pierre2013-01-231-3/+3
| | | | to tuples
* testsuite: test for exceptions raised without messagesChris St. Pierre2012-12-101-1/+1
|
* catch pulp errors when creating/binding consumersChris St. Pierre2012-11-271-10/+25
|
* fixed plugin-specific implementations of toggle_debug for new set_debug stuffChris St. Pierre2012-11-162-9/+9
|
* only try to find bcfg2-yum-helper in $PATH onceChris St. Pierre2012-11-141-15/+16
|
* fixed some docs for sphinx 1.1Chris St. Pierre2012-11-131-2/+2
|
* Packages: fixed yum cachefiles propertyChris St. Pierre2012-11-081-1/+1
|
* Packages: import error we catchChris St. Pierre2012-10-161-1/+1
|
* Packages: better error handling for GPG key downloadingChris St. Pierre2012-10-161-3/+15
|
* Plugins: Update builtin plugins to use 'mode' attributeSol Jerome2012-10-152-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed docs for Apt and Pac collections. can haz sphinx 1.1 yet?Chris St. Pierre2012-10-113-1/+27
|