Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'feature/ldap-enhancements' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2017-08-31 | 4 | -85/+191 |
|\ | |||||
| * | 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/Cache: Return the number of expired items | Alexander Sulfrian | 2017-03-21 | 1 | -4/+13 |
| | | |||||
| * | 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: CallableDict is an OnDemandDict without caching | Alexander Sulfrian | 2017-03-21 | 1 | -16/+46 |
| | | | | | | | | | | | | Add a CallableDict (like OnDemandDict, but without caching the results) to have a dict-like class, that can be cached with the client metadata without caching the dynamic values. | ||||
| * | Server/Plugin: Support functions and values for OnDemandDict | Alexander Sulfrian | 2017-03-21 | 1 | -4/+9 |
| | | | | | | | | Now you can also specify simple values for the OnDemandDict. | ||||
| * | Server/Plugin: Move OnDemandDict to helpers | Alexander Sulfrian | 2017-03-21 | 2 | -50/+50 |
| | | | | | | | | 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. | ||||
* | | Server/Info: Fix encoding declaration | Alexander Sulfrian | 2017-03-21 | 1 | -1/+1 |
|/ | | | | | It seems to be, that there must not be any Python statement before the magic comment. | ||||
* | Server/Lint: Include RequiredBundle in referenced bundles | Dmitri Iouchtchenko | 2017-03-17 | 1 | -0/+4 |
| | |||||
* | Fix multiline scripts in bcfg2-info debug mode | s19n | 2017-03-09 | 1 | -3/+1 |
| | |||||
* | Merge pull request #373 from AlexanderS/fix/django1.9/report-collector | Alexander Sulfrian | 2017-01-10 | 3 | -25/+16 |
|\ | | | | | Fix bcfg2-report-collector for django-1.9 | ||||
| * | DBSettings: Call django.setup() right after configuring the settings | Alexander Sulfrian | 2016-11-28 | 3 | -25/+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. | ||||
* | | Merge pull request #369 from AlexanderS/fix/lint/augeas | Alexander Sulfrian | 2016-11-29 | 1 | -59/+107 |
|\ \ | | | | | | | Lint: Some fixes of the required attributes | ||||
| * | | Server/Lint: Replace dict with {} | Alexander Sulfrian | 2016-11-29 | 1 | -59/+99 |
| | | | |||||
| * | | Server/Lint: Fix code style | Alexander Sulfrian | 2016-11-21 | 1 | -4/+9 |
| | | | |||||
| * | | Server/Lint: Add missing required attributes | Alexander Sulfrian | 2016-11-21 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | owner, group and mode are required for all path entries representing files or directories. | ||||
| * | | Server/Lint: Add required attrs for augeas path entries | Alexander Sulfrian | 2016-11-21 | 1 | -0/+2 |
| | | | |||||
| * | | Server/Lint: name attribute is required for all Path entries | Alexander Sulfrian | 2016-11-21 | 1 | -20/+19 |
| |/ | |||||
* | | 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. | ||||
* | Admin: Remove extraneous quote | Sol Jerome | 2016-09-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | 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 |
| | | |||||
* | | Merge branch 'fix/testsuite/db-tests' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2016-09-12 | 1 | -29/+5 |
|\ \ | |||||
| * | | Revert "Revert "removed duplicate plugins option"" | Alexander Sulfrian | 2016-09-12 | 1 | -29/+5 |
| |/ | | | | | | | This reverts commit 8bcd3b7d717186f14bdd2482e46c2a6feee51767. | ||||
* | | Merge branch 'django-check' of https://github.com/0/bcfg2 | Sol Jerome | 2016-09-12 | 1 | -1/+1 |
|\ \ | |||||
| * | | bcfg2-admin: Check for django before checking django version | Dmitri Iouchtchenko | 2016-09-11 | 1 | -1/+1 |
| |/ | |||||
* / | Packages: Strip ':any' suffix from APT dependencies | Dmitri Iouchtchenko | 2016-09-08 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #340 from rbuch/master | Alexander Sulfrian | 2016-08-18 | 1 | -3/+7 |
|\ | | | | | Add support for rawurl in Apt | ||||
| * | Add support for rawurl in Apt | Ronak Buch | 2016-08-17 | 1 | -3/+7 |
| | | |||||
* | | doc: Escape underscores | Alexander Sulfrian | 2016-08-18 | 1 | -1/+1 |
|/ | | | | | Double underscore mark anonymous hyperlinks. To include '__' literally we need to escape it. | ||||
* | Server/models: Exclude the Reporting plugin | Alexander Sulfrian | 2016-08-17 | 1 | -0/+4 |
| | | | | | The reporting database is not handled within Bcfg2.Server but in the Bcfg2.Reporting app. | ||||
* | Bcfg2/Server: Add migrations for Bcfg2.Server | Alexander Sulfrian | 2016-08-17 | 4 | -0/+115 |
| | | | | | Django1.9 requires every app to have migrations. You cannot create a tables without having migrations. | ||||
* | Server/Plugins/Ldap: Module should be importable without the python-ldap | Alexander Sulfrian | 2016-08-17 | 1 | -6/+11 |
| | |||||
* | Revert "removed duplicate plugins option" | Alexander Sulfrian | 2016-08-17 | 1 | -5/+25 |
| | | | | This reverts commit 30634d07d5489f260f37cc86d150315f02c40865. | ||||
* | Server/Core: Ignore pylint error | Alexander Sulfrian | 2016-08-17 | 1 | -1/+1 |
| | | | | | pylint should ignore this method, because it is only used as fallback for older django versions and does not exists in newer versions. | ||||
* | 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 |
|\ \ |