summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
Commit message (Collapse)AuthorAgeFilesLines
* Plugins/Packages/Portage: add support for per-package flagsAlexander Sulfrian2015-05-101-11/+2
|
* 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/Packages/Portage: add Packages Plugin for PortageAlexander Sulfrian2015-05-102-1/+337
|
* Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2015-05-101-5/+7
| | | | | | | | | | | The classes of Sources could now specify another class for the Collection container. One host could only use one Collection class at a time. So all different Sources have to reference the same Collection. If no "cclass" is defined in the Sources class, the collection class name is generated by striping the "Source" string from the Sources class name like before.
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2015-05-101-1/+4
|
* Packages/Apt: add priority to additional_infoAlexander Sulfrian2015-05-101-1/+2
|
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2015-05-103-7/+33
| | | | | | | 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: add priority to sources and sort according to itAlexander Sulfrian2015-05-102-0/+5
|
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-187-21/+19
| | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* Pylint fixes for pylint 0.28Chris St. Pierre2015-02-171-2/+2
| | | | | This also pins Pylint to 0.28 or older so that we don't have to do this again. At some point we should look at upgrading to Pylint 1.x.
* Server/Plugin/helpers: remove track_statisticsAlexander Sulfrian2014-12-131-1/+1
| | | | Bcfg2.Server.Statistics.track_statistics was identical.
* Merge branch 'maint'Alexander Sulfrian2014-11-122-6/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py doc/releases/index.txt doc/server/database.txt doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/sslca.txt man/bcfg2.conf.5 misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile schemas/packages.xsd solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/Action.py src/lib/Bcfg2/Client/Tools/SYSV.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Packages/Apt.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/settings.py src/lib/Bcfg2/version.py testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * Server/Plugins/Packages: add debsrc attribute to url_mapAlexander Sulfrian2014-11-051-2/+2
| | | | | | | | | | Adding this value to the url_map makes it possible to use it in genshi templates.
| * fix keyboard interrupt during intial event handlingAlexander Sulfrian2014-10-261-1/+1
| | | | | | | | | | | | | | This removes some wildcard except handler because this drops some KeyboardInterrupt exceptions (for example previously a KeyboardInterrupt during the loading of the cache for Packages resulted in a fallback to file read).
| * Packages: add name to additional_data for SourcesAlexander Sulfrian2014-10-181-0/+1
| |
| * Packages: add name to sourcesAlexander Sulfrian2014-10-181-2/+10
| |
| * Packages/Apt: Essential could be "no"Alexander Sulfrian2014-07-281-1/+2
| | | | | | | | | | | | The "Essential" field in the package control fields could be "yes" or "no". Only yes sould define the package as essential. The value "no" sould be handled same as not having the field at all.
* | fixed some places where plugin loading should fail silentlyChris St. Pierre2014-11-101-0/+1
| |
* | testsuite: Added unit tests for new option parsingChris St. Pierre2014-11-101-2/+2
| |
* | Packages: enable Pkgng backend by defaultAlexander Sulfrian2014-10-141-1/+2
| |
* | Packages/Pkgng: fix arguments of __init__Alexander Sulfrian2014-10-131-3/+2
| | | | | | | | | | This plugin was developed for 1.3.x and during the transition to master the changed arguments of Collection.__init__ were missed.
* | Packages: Fix pylint testsSol Jerome2014-05-174-6/+9
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'recommended-per-package' of https://github.com/AlexanderS/bcfg2Sol Jerome2014-05-175-21/+66
|\ \
| * | Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2014-05-115-21/+66
| | |
* | | Packages/Pkgng: add new pkgng packages pluginAlexander Sulfrian2014-04-271-0/+87
|/ /
* | Merge branch 'maint'Chris St. Pierre2014-04-251-6/+27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: misc/bcfg2.spec src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/APK.py src/lib/Bcfg2/Client/Tools/MacPorts.py src/lib/Bcfg2/Client/Tools/Pacman.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Server/Admin/Minestruct.py src/lib/Bcfg2/Server/Admin/Pull.py src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * 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.
* | Merge branch 'maint' into masterSol Jerome2014-04-162-3/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/appendix/guides/import-existing-ssh-keys.txt misc/bcfg2.spec src/lib/Bcfg2/Client/Tools/VCS.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/Storage/DjangoORM.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/TestAugeas.py
| * 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