summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-212-3/+3
| |
| * Merge pull request #149 from danfoster/apt-essential-cacheChris St. Pierre2014-02-101-0/+1
| |\ | | | | | | Essential package list cache is not cleared when Packages is refreshed
| | * Reset essential package list to an empty set when Packages is refreshedDan Foster2013-12-291-0/+1
| | |
| * | fixed pylint testsChris St. Pierre2014-01-301-1/+2
| | |
| * | load correct JSON library on py2.4Chris St. Pierre2014-01-291-1/+2
| | |
* | | Packages: better way to find bcfg2-yum-helperChris St. Pierre2013-12-091-11/+8
| | |
* | | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-10-281-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/development/lint.txt misc/bcfg2.spec src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py testsuite/install.sh
| * | Packages: fixed metadata.Packages["sources"]Chris St. Pierre2013-10-091-1/+1
| | |
* | | Pylint/PEP8 fixesSol Jerome2013-09-062-3/+3
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Rewrote arbitrary data cache systemChris St. Pierre2013-08-161-43/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The caching facilities in Bcfg2.Server.Cache provided basically no features. This rewrites that to allow for much more powerful cache expiration, with a particular focus on interoperation between different components and plugins to let caches be expired as necessary. (E.g., the Probes plugin can expire the Metadata cache.) This does not affect any of the file data cached by Bcfg2, only the caches that are populated with arbitrary data (Metadata, Packages, Probes, etc.).
* | | Merge branch 'maint'Chris St. Pierre2013-08-121-3/+7
|\| | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
| * | Packages: always add collections to group/package cacheChris St. Pierre2013-08-091-4/+8
| | | | | | | | | | | | | | | | | | | | | This fixes cases where the collection itself would not be cached because a host had no sources, or multiple sources of different types; we still want to cache package group results and package sets (both of which will be empty).
* | | testsuite: fixed more unit testsChris St. Pierre2013-08-123-49/+16
| | |
* | | testsuite: fixed most pylint complaintsChris St. Pierre2013-08-094-4/+18
| | |
* | | Merge branch 'options-rewrite'Chris St. Pierre2013-08-086-149/+508
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 bcfg2-yum-helperChris St. Pierre2013-06-271-0/+294
| | | |
| * | | Options: migrated plugins to new options parserChris St. Pierre2013-06-275-145/+124
| | | |
* | | | Merge branch 'maint'Chris St. Pierre2013-08-083-19/+63
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-0/+3
| | | |
| * | | Plugin: added new Caching interfaceChris St. Pierre2013-08-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
| * | | Packages: cache group and package selectionsChris St. Pierre2013-08-071-5/+32
| | | |
| * | | 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
| | | |
| * | | Packages: reduce source_from_xml() calls on startupChris St. Pierre2013-07-311-6/+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-183-25/+98
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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.
* | | | Merge branch 'maint'Sol Jerome2013-07-081-1/+2
|\| | | | |/ / |/| | | | | | | | | | | Conflicts: src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt
| * | Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
| | |
* | | 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
| | |