summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
Commit message (Collapse)AuthorAgeFilesLines
* Enable bcfg2-yum-helper to depsolve for arches incompatible with serverJohn Morris2014-04-211-4/+25
| | | | | | | | | | | | | | | | By default, the yum dependency resolver uses the host's architecture to filter compatible packages. This prevents dependency resolution when the bcfg2 client's architecture is incompatible with the server's. This workaround checks the <Arch/> element for each of the client's yum sources, and if they are all identical, passes that architecture to bcfg2-yum-helper to override the default. The rpmUtils.arch module may only be configured for a single architecture. If multiple architectures are configured in yum sources, we don't know which one to pick, so use the default behavior instead.
* Fixed typoChris St. Pierre2014-02-211-1/+1
| | | | Note to self: do not push code before 9 am
* Yum: fix pylint testsChris St. Pierre2014-02-211-2/+2
|
* Yum: only fork to find bcfg2-yum-helper once, for realChris St. Pierre2014-02-211-2/+2
|
* testsuite: Fixed several pylint 1.0 issuesChris St. Pierre2014-02-211-1/+1
|
* fixed pylint testsChris St. Pierre2014-01-301-1/+2
|
* load correct JSON library on py2.4Chris St. Pierre2014-01-291-1/+2
|
* Yum: better errors when yum helper output isn't valid JSONChris St. Pierre2013-08-051-3/+8
|
* Yum: suppress warning about class variable assignmentChris St. Pierre2013-08-011-0/+2
|
* Yum: Fixed class-scope variable assignmentsChris St. Pierre2013-08-011-4/+6
|
* Yum: record helper location in class variable so it's only detected onceChris St. Pierre2013-07-311-1/+2
|
* Packages: instantiate Executor before determining path to helperChris St. Pierre2013-07-221-5/+4
|
* Packages: Added timeout to bcfg2-yum-helper callsChris St. Pierre2013-07-221-34/+20
| | | | | | | This involved making the Yum backend use Bcfg2.Utils.Executor to call bcfg2-yum-helper instead of subprocess.Popen directly. This was cherry-picked (kinda) from 3d06f311274d6b942ee89d8cdb13b2ecc99af1b0, so will likely break the maint -> master merge in spectacular ways.
* Packages: added lock to yum cache updateChris St. Pierre2013-07-181-0/+13
|
* Packages: make opportunistic yum cache creation respect metadata=disabledChris St. Pierre2013-07-181-1/+22
|
* Yum: Removed unused importChris St. Pierre2013-07-181-2/+1
|
* 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: use a separate yum persistdir per cacheChris St. Pierre2013-07-181-0/+1
|
* Read-only yum cacheChris St. Pierre2013-07-151-17/+43
| | | | | | | | | | | | | | | | 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.
* 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
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+1
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-6/+6
|
* fixed unit testsChris St. Pierre2013-03-211-4/+3
|
* YUM: Fixing long linesJason Kincl2013-02-241-2/+5
|
* Packages: Adding Yum groups to Bcfg2's internal dependency resolverJason Kincl2013-02-221-13/+72
|
* Packages: fixed several bugs that could cause duplicate Package entriesChris St. Pierre2013-02-061-1/+5
|
* 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
|
* catch pulp errors when creating/binding consumersChris St. Pierre2012-11-271-10/+25
|
* only try to find bcfg2-yum-helper in $PATH onceChris St. Pierre2012-11-141-15/+16
|
* Packages: fixed yum cachefiles propertyChris St. Pierre2012-11-081-1/+1
|
* Plugins: Update builtin plugins to use 'mode' attributeSol Jerome2012-10-151-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: updated pulp repo handling to latest Pulp v1 APIChris St. Pierre2012-10-111-9/+137
|
* Packages: added stats trackingChris St. Pierre2012-10-101-4/+11
|
* various pylint fixesChris St. Pierre2012-09-251-2/+2
|
* misc. minor bug fixesChris St. Pierre2012-09-251-9/+12
|
* made json optional againChris St. Pierre2012-09-251-1/+6
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-17/+25
|
* Packages: Fixed urls property of YumSourceChris St. Pierre2012-09-201-2/+4
|
* Packages: fixed unknown_filterChris St. Pierre2012-09-201-10/+17
|
* fixed bug in yum conversion to package tuplesChris St. Pierre2012-09-201-2/+2
|
* documented packages backendsChris St. Pierre2012-09-201-101/+375
|
* documented PackagesSourcesChris St. Pierre2012-09-201-9/+9
|
* Source fully documentedChris St. Pierre2012-09-201-2/+2
|
* deduplicated Packages code, more docsChris St. Pierre2012-09-201-10/+12
|