Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Plugins/Packages: Add arbitrary repo options to additional_data | Alexander Sulfrian | 2018-10-18 | 1 | -0/+2 |
| | |||||
* | Add Dummy packages backend and client tool to ignore all packages. | Alexander Sulfrian | 2018-10-18 | 2 | -1/+37 |
| | |||||
* | Plugins/Packages/Portage: do not try to update the {var,port}tree instances | Alexander Sulfrian | 2018-10-18 | 1 | -6/+4 |
| | |||||
* | Plugins/Packages/Layman: add support for layman overlays | Alexander Sulfrian | 2018-10-18 | 3 | -1/+151 |
| | | | | | | In combination with the PortageCollection the Packages plugin could now handle layman overlays. The Portage collection evaluates the dependencies with respect to the configured overlays. | ||||
* | Plugins/Packages/Portage: add support for per-package flags | Alexander Sulfrian | 2018-10-18 | 1 | -11/+2 |
| | |||||
* | Plugins/PkgVars: support multiple values per package | Alexander Sulfrian | 2018-10-18 | 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 | 2018-10-18 | 2 | -1/+337 |
| | |||||
* | Plugins/Packages/Collection: add cclass marker for Sources | Alexander Sulfrian | 2018-10-18 | 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. | ||||
* | Packages/Apt: add pin attribute for extra pinning information | Alexander Sulfrian | 2018-10-18 | 1 | -2/+5 |
| | |||||
* | Packages/Apt: add priority to additional_info | Alexander Sulfrian | 2018-10-18 | 1 | -2/+4 |
| | |||||
* | Plugins/PkgVars: new plugin to set various vars per package | Alexander Sulfrian | 2018-10-18 | 4 | -7/+92 |
| | | | | | | | 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 | 2018-10-18 | 2 | -0/+5 |
| | |||||
* | Merge branch 'feature/ldap-enhancements' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2017-08-31 | 2 | -80/+96 |
|\ | |||||
| * | Server/Plugins/Ldap: Fix module name | Alexander Sulfrian | 2017-03-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | If the module name contains slashes, python will issue an warning: > Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import > from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery So we simply use the basename without the file extension for the module name. | ||||
| * | Server/Plugins/Ldap: Support arbitrary ldap options | Alexander Sulfrian | 2017-03-21 | 1 | -2/+7 |
| | | | | | | | | | | | | You can now set arbitrary ldap option for the connection by specifying a dict with the key and the value. You should use the constants from python-ldap. | ||||
| * | Server/Plugins/Ldap: Support specifying the ldap uri | Alexander Sulfrian | 2017-03-21 | 1 | -6/+12 |
| | | | | | | | | | | | | | | You can now specify the server to connect by either host (and optionally port) or by specifying the full ldap uri. If you specify host and port the connection will use the plain (unencrypted) ldap protocol by default. Only if you specify the port "636", it will use ldaps now. | ||||
| * | Server/Plugins/Ldap: Cache the results of the Ldap queries | Alexander Sulfrian | 2017-03-21 | 1 | -17/+52 |
| | | | | | | | | | | | | | | Using the OnDemandDict removes the results of Ldap queries from the client_metadata cache. We add a new cache per hostname cache for the single ldap queries and add a new configuration option to enable caching until the cache is expired manually via XML-RPC. | ||||
| * | Server/Plugins/Ldap: Add missing argument | Alexander Sulfrian | 2017-03-21 | 1 | -1/+2 |
| | | |||||
| * | Server/Plugins/Ldap: Use CallableDict | Alexander Sulfrian | 2017-03-21 | 1 | -14/+28 |
| | | | | | | | | | | With the CallableDict the LdapQueries will only be executed, if the values are used. | ||||
| * | Server/Plugin: Move OnDemandDict to helpers | Alexander Sulfrian | 2017-03-21 | 1 | -49/+3 |
| | | | | | | | | The OnDemandDict could be used by different plugins. | ||||
* | | Probes: Remove wrong line | Alexander Sulfrian | 2017-03-22 | 1 | -1/+0 |
|/ | | | | | | This line brakes django detection for the Probes! It resets the global variable just after the detection. This line was left while changing the placement of the detection in fa0d86aba32c40d829f9f94411403221a48283e8. | ||||
* | Merge pull request #373 from AlexanderS/fix/django1.9/report-collector | Alexander Sulfrian | 2017-01-10 | 2 | -21/+16 |
|\ | | | | | Fix bcfg2-report-collector for django-1.9 | ||||
| * | DBSettings: Call django.setup() right after configuring the settings | Alexander Sulfrian | 2016-11-28 | 2 | -21/+16 |
| | | | | | | | | | | | | If required the DBSettings config hook will call django.setup right after configuring django with the required settings. So we can drop the calls to django.setup from all other places. | ||||
* | | Server/Plugins/NagiosGen: Remove the list conversion | Alexander Sulfrian | 2016-11-23 | 1 | -5/+3 |
| | | |||||
* | | Server/Plugins/NagiosGen: Always include default group | Alexander Sulfrian | 2016-11-23 | 1 | -1/+1 |
|/ | | | | | | | | | The default group file should be included, even if no server is in the 'default' hostgroup. It allows to include global definitions (like a service template). The behaviour is documented and was broken by 590a1314bca44f29fc34bd27f0d49599b7eeab10. | ||||
* | Merge pull request #368 from solj/fix-ssl-futurewarning | Alexander Sulfrian | 2016-11-21 | 1 | -2/+2 |
|\ | | | | | Cfg: Fix SSLCA key generation | ||||
| * | Cfg: Fix SSLCA key generation | Sol Jerome | 2016-11-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The previous check resulted in a "FutureWarning" and also did not work as expected and reset the key values in every case. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Packages: Cleanup pkgnames | Alexander Sulfrian | 2016-11-17 | 3 | -1/+4 |
|/ | | | | | | The pkgnames should be reset before parsing the source files. If a package was removed for a source, it should be removed from the pkgnames set, too. The packages plugin should look for the next source containing the package. | ||||
* | Merge branch 'pacman' of https://github.com/0/bcfg2 | Sol Jerome | 2016-09-15 | 1 | -14/+128 |
|\ | |||||
| * | Packages/Pac: Handle groups | Dmitri Iouchtchenko | 2016-09-12 | 1 | -1/+38 |
| | | |||||
| * | Packages/Pac: Parse dependencies | Dmitri Iouchtchenko | 2016-09-12 | 1 | -13/+90 |
| | | |||||
* | | Packages: Strip ':any' suffix from APT dependencies | Dmitri Iouchtchenko | 2016-09-08 | 1 | -0/+11 |
|/ | |||||
* | Add support for rawurl in Apt | Ronak Buch | 2016-08-17 | 1 | -3/+7 |
| | |||||
* | Server/Plugins/Ldap: Module should be importable without the python-ldap | Alexander Sulfrian | 2016-08-17 | 1 | -6/+11 |
| | |||||
* | Server/Plugins/Metadata: Initialize django _before_ creating models | Alexander Sulfrian | 2016-08-17 | 1 | -3/+3 |
| | |||||
* | Server/Plugins/Probes: Initialize django before use | Alexander Sulfrian | 2016-08-17 | 1 | -0/+5 |
| | |||||
* | Merge pull request #320 from AlexanderS/fix/more-django-fixes | Alexander Sulfrian | 2016-07-17 | 1 | -0/+4 |
|\ | | | | | Some more django fixes | ||||
| * | Metadata: Add fix for django1.7 | Alexander Sulfrian | 2015-11-17 | 1 | -0/+4 |
| | | | | | | | | | | The Metadata database backend also uses django1.7 and we have to run django.setup() here, too. | ||||
* | | Merge branch 'yum-helper-2' of https://github.com/gordonmessmer/bcfg2 | Sol Jerome | 2016-07-10 | 2 | -26/+28 |
|\ \ | |||||
| * | | Set value for data in case accept_input is false. | Gordon Messmer | 2016-04-21 | 1 | -1/+2 |
| | | | |||||
| * | | Bcfg2.Options.Subcommand must not access Options.setup in __init__. | Gordon Messmer | 2016-04-21 | 1 | -8/+14 |
| | | | |||||
| * | | Only read input if accept_input is True. | Gordon Messmer | 2016-04-21 | 1 | -7/+8 |
| | | | |||||
| * | | Remove PositionalArgument. It was incomplete and did not work as intended, ↵ | Gordon Messmer | 2016-04-21 | 1 | -4/+1 |
| | | | | | | | | | | | | requiring two positional args instead of one. | ||||
| * | | Fix format error in logger call. | Gordon Messmer | 2016-04-21 | 1 | -2/+2 |
| | | | |||||
| * | | Handle rid intelligently, to avoid infinite loop. | Gordon Messmer | 2016-04-21 | 1 | -5/+2 |
| | | | |||||
* | | | Fix long line. | Gordon Messmer | 2016-04-01 | 1 | -1/+2 |
| | | | |||||
* | | | Generate ed25519 keys. | Gordon Messmer | 2016-03-31 | 1 | -1/+7 |
|/ / | |||||
* | | Merge branch 'setup-options' of https://github.com/gordonmessmer/bcfg2 | Sol Jerome | 2016-03-03 | 2 | -0/+3 |
|\ \ | |/ |/| | |||||
| * | Add dest= arg to fix option that is referenced as cfg_validation. | Gordon Messmer | 2016-02-17 | 1 | -0/+1 |
| | | |||||
| * | Add dest= arg to fix LDAP options. | Gordon Messmer | 2016-02-17 | 1 | -0/+2 |
| | |