summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
Commit message (Collapse)AuthorAgeFilesLines
* Packages: better way to find bcfg2-yum-helperChris St. Pierre2013-12-091-11/+8
|
* Pylint/PEP8 fixesSol Jerome2013-09-061-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: fixed more unit testsChris St. Pierre2013-08-121-24/+7
|
* Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-43/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * Options: migrated plugins to new options parserChris St. Pierre2013-06-271-40/+41
| |
* | Merge branch 'maint'Chris St. Pierre2013-08-081-8/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * | 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
| | |
* | | Yum: Add back disableMetaData methodSol Jerome2013-07-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | The documentation string for this method led me to believe that we could remove it. However, after looking closely, it appears as though disableMetaData is still undefined for Collection objects in __init__.py. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'maint'Sol Jerome2013-07-271-10/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/appendix/guides/ubuntu.txt src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/settings.py
| * | 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
| | |
* | | Yum: Add back self.cmdSol Jerome2013-07-181-0/+1
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'maint'Sol Jerome2013-07-181-15/+16
|\| | | |/ |/| | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py
| * 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.
* | Merge branch 'maint'Chris St. Pierre2013-06-271-15/+38
|\| | | | | | | | | | | | | | | | | Conflicts: doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/tcheetah.txt src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
| * 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
| |
* | Merge branch 'maint'Sol Jerome2013-06-021-2/+2
|\| | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/installation/distributions.txt doc/server/snapshots/index.txt src/lib/Bcfg2/Server/Plugin/helpers.py src/sbin/bcfg2-server
| * Yum: prevent traceback with empty repositoryChris St. Pierre2013-05-211-2/+2
| |
* | Fixing unit testsChris St. Pierre2013-04-251-0/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-7/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * 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
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-58/+42
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * use Executor class for better subprocess calling on serverChris St. Pierre2013-03-141-31/+18
| |
| * Merge branch 'master' into 1.4.xChris St. Pierre2013-02-201-42/+51
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/contributors.txt schemas/bundle.xsd src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/Encryption.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/TemplateHelper.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py tools/bcfg2-profile-templates.py
| * | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-10/+11
| | |
| * | Merge branch '1.3.1' into 1.4.xChris St. Pierre2013-01-171-7/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Packages/Collection.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
| | * | removed passing of optionparser object amongst Packages pluginChris St. Pierre2013-01-171-7/+7
| | | |
| * | | removed magic groupsChris St. Pierre2013-01-171-4/+0
| | | |
| * | | fixed unit testsChris St. Pierre2013-01-171-1/+1
| | | |
| * | | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-6/+6
| |/ / | | | | | | | | | times
* | | 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
|