Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Plugins/PkgVars: support multiple values per package | Alexander Sulfrian | 2015-05-10 | 2 | -4/+10 |
| | | | | | If multiple values specified for one package all values are joined together in a set. | ||||
* | Plugins/Packages/Portage: add Packages Plugin for Portage | Alexander Sulfrian | 2015-05-10 | 2 | -1/+337 |
| | |||||
* | Plugins/Packages/Collection: add cclass marker for Sources | Alexander Sulfrian | 2015-05-10 | 1 | -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. | ||||
* | Client/Tools/APT: save new package version for auto pkgs | Alexander Sulfrian | 2015-05-10 | 1 | -3/+5 |
| | | | | | | For auto/any packages, currently only auto/any is stored in the statistics as the new installed version. This patch changes this behavior, so that the exact version string is saved additionaly. | ||||
* | Packages/Apt: add pin attribute for extra pinning information | Alexander Sulfrian | 2015-05-10 | 1 | -1/+4 |
| | |||||
* | Packages/Apt: add priority to additional_info | Alexander Sulfrian | 2015-05-10 | 1 | -1/+2 |
| | |||||
* | Plugins/PkgVars: new plugin to set various vars per package | Alexander Sulfrian | 2015-05-10 | 5 | -8/+94 |
| | | | | | | | 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 it | Alexander Sulfrian | 2015-05-10 | 2 | -0/+5 |
| | |||||
* | mark dependencies as automatic installed | Alexander Sulfrian | 2015-05-10 | 1 | -0/+23 |
| | |||||
* | Merge branch 'fix-extra-packages' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-03-18 | 4 | -11/+11 |
|\ | |||||
| * | Reporting/Storage: Fix handling of extra packages. | Alexander Sulfrian | 2015-02-19 | 1 | -6/+5 |
| | | | | | | | | | | | | | | The code before for extra packages only worked for rpms because it only evaluated the version information of the contained <Instance> tag and droped the package if no one was avilable. Now the handling of <Instance> is optional and the package is imported everytime. | ||||
| * | Client/Tools: Report the version of extra packages as current_version. | Alexander Sulfrian | 2015-02-19 | 3 | -5/+6 |
| | | | | | | | | | | The version of extra packages should be reported as current_version and not as target_version. | ||||
* | | Fix long line for test suite. | Gordon Messmer | 2015-03-03 | 1 | -1/+2 |
| | | |||||
* | | Add newline to fix test suite. | Gordon Messmer | 2015-03-03 | 1 | -1/+1 |
| | | |||||
* | | Fix long lines and additional changes for readability. | Gordon Messmer | 2015-03-03 | 1 | -23/+27 |
| | | |||||
* | | Improve systemd module so that it resembles more mature modules. | Gordon Messmer | 2015-03-03 | 1 | -13/+45 |
| | | |||||
* | | Client/Tools/APT: Fix regression of ee4111fc | Alexander Sulfrian | 2015-02-23 | 1 | -1/+1 |
| | | | | | | | | | | In ee4111fc we removed the wrong continue (the one after the if/else block for newapi) and now we get an error that 'auto' is not an available version. | ||||
* | | Client/Tools/Pkgng: No auto-update on pkg-search. | Alexander Sulfrian | 2015-02-19 | 1 | -1/+1 |
|/ | | | | | | By default pkg search will update the local copy of the repository catalogue from remote. We are executing a lot of searches and do not want to update the catalogue every time. | ||||
* | Merge pull request #250 from stpierre/blanket-except-plugins-lint | Chris St. Pierre | 2015-02-18 | 29 | -218/+172 |
|\ | | | | | Remove blanket excepts from plugins and lint | ||||
| * | Remove blanket excepts from plugins and lint | Chris St. Pierre | 2015-02-18 | 29 | -218/+172 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #261 from AlexanderS/fix-decisions | Chris St. Pierre | 2015-02-18 | 2 | -3/+6 |
|\ \ | | | | | | | Fix Decisions Plugin | ||||
| * | | FileMonitor/Pseudo: Only produce exists events, if file exists. | Alexander Sulfrian | 2015-02-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | The pseudo filemonitor created exists events, even if the file does not exists and the event handler raises an exception. Not it simply ignores non existing files and does not confuse the user with error messages. | ||||
| * | | Server/Plugins/Decisions: Monitor files for changes. | Alexander Sulfrian | 2015-02-17 | 1 | -2/+4 |
| |/ | | | | | | | | | | | StructFile does not monitor the files by default and without the monitor we does not get the content. So we need to supply should_monitor=True to the StructFile. | ||||
* / | Add homebrew package management | Jimmy Tang | 2015-02-18 | 1 | -0/+54 |
|/ | | | | Signed-off-by: Jimmy Tang <jcftang@gmail.com> | ||||
* | Remove unnecessary suppression of apt warnings | Chris St. Pierre | 2015-02-17 | 1 | -5/+0 |
| | | | | | This is no longer necessary in 12.04, so should be safe to remove. If you're on Ubuntu < 12.04, upgrade for heaven's sake. | ||||
* | more pylint fixes | Chris St. Pierre | 2015-02-17 | 2 | -8/+12 |
| | |||||
* | one more pylint fix | Chris St. Pierre | 2015-02-17 | 1 | -2/+2 |
| | |||||
* | Pylint fixes for pylint 0.28 | Chris St. Pierre | 2015-02-17 | 13 | -59/+67 |
| | | | | | 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. | ||||
* | DBSettings: Fix time_zone option. | Alexander Sulfrian | 2015-01-28 | 1 | -2/+2 |
| | | | | | In the documentation, in the 1.3.x version and in django this option is called time_zone (and not timezone). There is no reason to change this. | ||||
* | Merge branch 'bundle-modification-deps' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-01-03 | 3 | -16/+105 |
|\ | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/__init__.py | ||||
| * | Bundler: modification is now the boolean inherit_modification | Alexander Sulfrian | 2014-11-25 | 1 | -3/+4 |
| | | |||||
| * | Bundler: add modification support to Bundle dependencies | Alexander Sulfrian | 2014-11-25 | 3 | -16/+104 |
| | | | | | | | | | | | | Bundle dependencies are now realized with RequiredBundle and support inheritance of the modification flag. This requires new client support and will only work with clients >= 1.4.0pre2. | ||||
* | | Server/Plugin/helpers: remove track_statistics | Alexander Sulfrian | 2014-12-13 | 3 | -45/+9 |
| | | | | | | | | Bcfg2.Server.Statistics.track_statistics was identical. | ||||
* | | Merge branch 'fix-client-keyboard-interrupt' of ↵ | Sol Jerome | 2014-12-09 | 2 | -0/+12 |
|\ \ | | | | | | | | | | https://github.com/AlexanderS/bcfg2 | ||||
| * | | Bcfg2/Client: do not catch KeyboardInterrupt | Alexander Sulfrian | 2014-11-25 | 2 | -0/+12 |
| |/ | | | | | | | | | Wildcard excepts should explicitly exclude KeyboardInterrupt, so that the process exits if the user wants it. | ||||
* | | Server/Plugins/Metadata: add remove_client to rmi methods | Alexander Sulfrian | 2014-12-08 | 1 | -1/+2 |
| | | |||||
* | | Server/SSLServer: allow None as return value | Alexander Sulfrian | 2014-12-08 | 1 | -1/+1 |
| | | |||||
* | | Server/Plugins/Metadata: add list_clients to rmi methods | Alexander Sulfrian | 2014-11-30 | 1 | -0/+1 |
| | | |||||
* | | Server/SSLServer: allow set as return value | Alexander Sulfrian | 2014-11-30 | 1 | -1/+3 |
| | | | | | | | | | | xmlrpclib does not handle sets as return values. So we have to convert it to a list before returning it. | ||||
* | | NagiosGen: Fix typo in b1b6b5ae | Sol Jerome | 2014-11-26 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | NagiosGen: Add bundles to configuration | Sol Jerome | 2014-11-26 | 1 | -1/+7 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Bcfg2/Server/Admin: fix the Help subcommand | Alexander Sulfrian | 2014-11-25 | 1 | -1/+3 |
| | | | | | | | | | | At least the Help subcommand does not provide a setup method. So we need to exclude if from the setup() call. | ||||
* | | Merge branch 'fix-version' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2014-11-25 | 1 | -2/+9 |
|\ \ | |||||
| * | | Bcfg2/Options/Parser: fix --version option, add test | Alexander Sulfrian | 2014-11-25 | 1 | -2/+9 |
| |/ | |||||
* / | Server/Core: fix missing bundle error | Alexander Sulfrian | 2014-11-21 | 1 | -1/+2 |
|/ | | | | | | Bundles could be converted into Independent tags, so we need to check Bundle and Independent elements in the generated structure to find all requested bundles. | ||||
* | Merge branch 'include2' of https://github.com/gordonmessmer/bcfg2 | Sol Jerome | 2014-11-17 | 1 | -3/+42 |
|\ | |||||
| * | Add loader/environment to Jinja2 templates so that files can | Gordon Messmer | 2014-11-06 | 1 | -3/+42 |
| | | | | | | | | include or extend other files. | ||||
* | | Client/Tools/APT: some syntax cleanup | Alexander Sulfrian | 2014-11-16 | 1 | -15/+13 |
| | | |||||
* | | Client/Tools/APT: use more modern python-apt API | Alexander Sulfrian | 2014-11-16 | 1 | -9/+2 |
| | | | | | | | | python-apt provides a public API for all required steps. | ||||
* | | Client/Tools/APT: use "pkg in cache" everywhere | Alexander Sulfrian | 2014-11-16 | 1 | -3/+3 |
| | | | | | | | | | | The "in syntax" is supported instead of the cache.has_key(pkg) syntax at least since python-apt-0.7.91. |