Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Server/Lint: Include RequiredBundle in referenced bundles | Dmitri Iouchtchenko | 2017-03-17 | 1 | -0/+4 |
| | |||||
* | Merge pull request #362 from AlexanderS/fix/missing-config-file | Alexander Sulfrian | 2017-03-10 | 1 | -1/+1 |
|\ | | | | | Options: Missing config file is not a fatal error | ||||
| * | Options: Missing config file is not a fatal error | Alexander Sulfrian | 2016-09-28 | 1 | -1/+1 |
| | | | | | | | | | | If the config file is not available, it should not be a fatal error, but bcfg2 should just use the default config values. | ||||
* | | Merge pull request #382 from AlexanderS/feature/multiline-debug-scripts | Alexander Sulfrian | 2017-03-10 | 1 | -3/+1 |
|\ \ | | | | | | | Fix multiline scripts in bcfg2-info debug mode | ||||
| * | | Fix multiline scripts in bcfg2-info debug mode | s19n | 2017-03-09 | 1 | -3/+1 |
| | | | |||||
* | | | Reporting: Fix missing sys import | Sol Jerome | 2017-01-10 | 1 | -0/+1 |
|/ / | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Merge pull request #345 from AlexanderS/fix/django-1.10 | Alexander Sulfrian | 2017-01-10 | 2 | -35/+35 |
|\ \ | | | | | | | Fixes for django 1.10 | ||||
| * | | Reporting/Compat: Add patterns compat method | Alexander Sulfrian | 2016-08-18 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | django 1.10 removed the patterns method, so we define it manually a bit easier than the old upstream variant but sufficient for our needs. | ||||
| * | | Reporting: Ensure we have an empty prefix in the url patterns | Alexander Sulfrian | 2016-08-18 | 1 | -21/+22 |
| | | | |||||
| * | | Reporting: Remove outdated comments | Alexander Sulfrian | 2016-08-18 | 1 | -13/+0 |
| | | | |||||
* | | | Merge pull request #373 from AlexanderS/fix/django1.9/report-collector | Alexander Sulfrian | 2017-01-10 | 6 | -40/+42 |
|\ \ \ | | | | | | | | | Fix bcfg2-report-collector for django-1.9 | ||||
| * | | | DBSettings: Call django.setup() right after configuring the settings | Alexander Sulfrian | 2016-11-28 | 5 | -28/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Reporting/Storage: Reordering of the imports | Alexander Sulfrian | 2016-11-21 | 1 | -10/+9 |
| | | | | |||||
| * | | | Reporting/Storage: Removed unused import | Alexander Sulfrian | 2016-11-21 | 1 | -1/+0 |
| | | | | |||||
| * | | | Reporting/Storage: Load django models after option parsing | Alexander Sulfrian | 2016-11-21 | 1 | -4/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | django get setup during option parsing and we cannot acces "django.db.models" before. So we need to delay the import of the models until the option parsing is ready. | ||||
| * | | | Reporting/Storage: Remove wildcard import | Alexander Sulfrian | 2016-11-21 | 1 | -1/+4 |
| | | | | |||||
* | | | | 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 |
| | | | | | |||||
* | | | | | Merge pull request #372 from AlexanderS/fix/nagiosgen | Alexander Sulfrian | 2016-11-29 | 1 | -5/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Some small fixes for NagiosGen | ||||
| * | | | | | 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. | ||||
* / | | | | Client/Proxy.py: Provide more useful error message | Sol Jerome | 2016-11-23 | 1 | -0/+3 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, having a ca specified in the client bcfg2.conf which pointed to a file that didn't exist resulted in the following: Unknown failure: [Errno 2] No such file or directory (IOError) Unknown failure: [Errno 2] No such file or directory (IOError) Unknown failure: [Errno 2] No such file or directory (IOError) Fatal error: Failed to declare version: Unknown failure: [Errno 2] No such file or directory (IOError) This commit provides more information about the actual cause of the issue. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* / / / | Client: Fix typo in comment | Alexander Sulfrian | 2016-11-21 | 1 | -2/+2 |
|/ / / | |||||
* | | | 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> | ||||
* | | | | Merge pull request #366 from 0/augeas-lxml | Alexander Sulfrian | 2016-11-21 | 1 | -14/+15 |
|\ \ \ \ | | | | | | | | | | | Client/Tools/POSIX: Avoid lxml features in Augeas | ||||
| * | | | | Client/Tools/POSIX: Avoid lxml features in Augeas | Dmitri Iouchtchenko | 2016-11-04 | 1 | -14/+15 |
| |/ / / | |||||
* / / / | 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 pull request #363 from solj/fix-admin-typo | Alexander Sulfrian | 2016-09-28 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Admin: Remove extraneous quote | ||||
| * | | | Admin: Remove extraneous quote | Sol Jerome | 2016-09-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | | | Options: Fix default repository path | Sol Jerome | 2016-09-28 | 1 | -1/+1 |
|/ / / | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | | Merge branch 'select_related' of https://github.com/0/bcfg2 | Sol Jerome | 2016-09-16 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | Reporting: Remove invalid fields from select_related | Dmitri Iouchtchenko | 2016-09-15 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge branch 'pacman' of https://github.com/0/bcfg2 | Sol Jerome | 2016-09-15 | 2 | -19/+132 |
|\ \ \ | |/ / |/| | | |||||
| * | | Client/Tools/Pacman: Decrease logging levels | Dmitri Iouchtchenko | 2016-09-12 | 1 | -5/+4 |
| | | | |||||
| * | | Packages/Pac: Handle groups | Dmitri Iouchtchenko | 2016-09-12 | 1 | -1/+38 |
| | | | |||||
| * | | Packages/Pac: Parse dependencies | Dmitri Iouchtchenko | 2016-09-12 | 1 | -13/+90 |
| | | |