summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py
Commit message (Collapse)AuthorAgeFilesLines
* Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2015-05-101-2/+2
| | | | | If multiple values specified for one package all values are joined together in a set.
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2015-05-101-3/+24
| | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages or use flags and keywords for gentoo packages (needs to be implemented by future Portage plugin).
* Packages: Fix pylint testsSol Jerome2014-05-171-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2014-05-111-4/+9
|
* testsuite: fixed most pylint complaintsChris St. Pierre2013-08-091-1/+0
|
* Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-32/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-32/+13
| |
* | Merge branch 'maint'Sol Jerome2013-07-181-0/+4
|\ \ | |/ |/| | | | | | | | | | | | | 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
| * Read-only yum cacheChris St. Pierre2013-07-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'master' into 1.4.xChris St. Pierre2013-02-201-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Packages: fixed bug with display of package entries that have been converted ↵Chris St. Pierre2013-01-231-3/+3
| | | | | | | | to tuples
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-3/+4
| |
* | Merge branch '1.3.1' into 1.4.xChris St. Pierre2013-01-171-6/+6
|\ \ | | | | | | | | | | | | | | | | | | 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-4/+4
| |/
* | removed magic groupsChris St. Pierre2013-01-171-27/+0
| |
* | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-6/+3
|/ | | | times
* fixed docs for Apt and Pac collections. can haz sphinx 1.1 yet?Chris St. Pierre2012-10-111-0/+1
|
* Packages: updated pulp repo handling to latest Pulp v1 APIChris St. Pierre2012-10-111-3/+13
|
* Packages: added stats trackingChris St. Pierre2012-10-101-0/+3
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-12/+16
|
* documented packages backendsChris St. Pierre2012-09-201-9/+8
|
* documented PackagesSourcesChris St. Pierre2012-09-201-150/+49
|
* documented Packages base classChris St. Pierre2012-09-201-17/+15
|
* Source fully documentedChris St. Pierre2012-09-201-19/+33
|
* deduplicated Packages code, more docsChris St. Pierre2012-09-201-3/+6
|
* development docs for Packages: Collection docs writtenChris St. Pierre2012-09-201-134/+427
|
* Packages: fix Collection.cachekey() on py3kChris St. Pierre2012-08-301-1/+1
|
* Packages: made url_map consistent across all source typesChris St. Pierre2012-08-271-3/+1
|
* bcfg2-info: fixed Collection.sourcelist arch filterChris St. Pierre2012-08-231-0/+2
|
* don't encode Packages source lists just to md5sum themChris St. Pierre2012-08-071-1/+1
|
* Packages: Add missing lxml importSol Jerome2012-08-061-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bug fixes from soljChris St. Pierre2012-08-061-1/+1
|
* get encoding a better way in packages collection objectsChris St. Pierre2012-08-031-1/+1
|
* fixed calculation of new packages listChris St. Pierre2012-08-031-0/+7
|
* made yum Packages backend support resolving by version (#1112)Chris St. Pierre2012-08-031-0/+15
|
* batch up get_group calls in Packages to improve performance (#1101)Chris St. Pierre2012-08-011-0/+8
|
* Metadata and other improvements:Chris St. Pierre2012-07-301-10/+1
| | | | | | | | | | * Added support for Client tag in groups.xml * Added support for nested Group tags in groups.xml * Added support for negated groups in groups.xml * Added DatabaseBacked plugin mixin to easily allow plugins to connect to a database specified in global database settings in bcfg2.conf * Added DBMetadata plugin that uses relational DB to store client records instead of writing to clients.xml
* Packages: Fix unexpected indentSol Jerome2012-06-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed caching of Collection objects; moved bcfg2-info packagesources code ↵Chris St. Pierre2012-06-011-4/+29
| | | | into Collection.py
* Packages: Unicode-objects must be encoded before hashingSol Jerome2012-05-211-1/+1
| | | | | | Fixes a traceback in PY3K. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added short-lived caching of Packages Collection objectsChris St. Pierre2012-05-111-16/+43
|
* Packages: Add Essential packages to specification (#1084)Sol Jerome2012-04-171-0/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+343
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>