Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Server/Plugins/Ldap: Cache the results of the Ldap queries | Alexander Sulfrian | 2017-03-21 | 3 | -23/+75 |
| | | | | | | | 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 | 2 | -3/+7 |
|\ | | | | | Options: Missing config file is not a fatal error | ||||
| * | TestOptions: Do not try to parse the cmd args of the tests | Alexander Sulfrian | 2016-10-04 | 1 | -2/+3 |
| | | |||||
| * | testsuite: Missing config file should not raise SystemExit anymore | Alexander Sulfrian | 2016-09-28 | 1 | -1/+4 |
| | | |||||
| * | 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 |
| | | | |||||
* | | | Merge pull request #381 from AlexanderS/feature/README | Alexander Sulfrian | 2017-03-10 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | README enhancements | ||||
| * | | | README: First heading should be different level | Alexander Sulfrian | 2017-03-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | README: Rename README to enable github formatting | Alexander Sulfrian | 2017-03-09 | 2 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #375 from solj/fix-missing-import | Alexander Sulfrian | 2017-03-09 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | Reporting: Fix missing sys import | ||||
| * | | | 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 #380 from AlexanderS/fix/augeas-master | Alexander Sulfrian | 2017-03-09 | 1 | -2/+1 |
|\ \ \ \ | |_|/ / |/| | | | testsuite: Use python-augeas from PyPI with pip | ||||
| * | | | testsuite: Use python-augeas from PyPI with pip | Alexander Sulfrian | 2017-03-07 | 1 | -2/+1 |
|/ / / | | | | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. So we need to pull python-augeas from anywhere else, let's simply install it with pip from PyPI. | ||||
* | | | Merge pull request #377 from viiru-/manpage-typo-fixes | Alexander Sulfrian | 2017-01-19 | 4 | -4/+4 |
|\ \ \ | |/ / |/| | | Manpage typo fixes | ||||
| * | | Fix typo in bcfg2.conf.5 | Arto Jantunen | 2017-01-19 | 2 | -2/+2 |
| | | | |||||
| * | | Fix typo in bcfg2.1 | Arto Jantunen | 2017-01-19 | 2 | -2/+2 |
|/ / | |||||
* | | testsuite: Restrict the sphinx version | Alexander Sulfrian | 2017-01-10 | 1 | -1/+1 |
| | | | | | | | | | | The current version of sphinx has problems fetching the intersphinx inventory files: https://github.com/sphinx-doc/sphinx/issues/3234 | ||||
* | | testsuite: Fix XMLSyntaxError initialization | Arach | 2017-01-10 | 1 | -2/+1 |
| | | | | | | | | lxml-3.7.0 requires integers as arguements for XMLSyntaxError. | ||||
* | | Merge pull request #345 from AlexanderS/fix/django-1.10 | Alexander Sulfrian | 2017-01-10 | 3 | -36/+36 |
|\ \ | | | | | | | Fixes for django 1.10 | ||||
| * | | testsuite: Bump django version | Alexander Sulfrian | 2016-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | We should be compatible with django-1.10 now. | ||||
| * | | 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 | 2 | -9/+4 |
|\ \ \ \ \ | | | | | | | | | | | | | 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. | ||||
| * | | | | | doc: Remove outdated NagiosGen information | Alexander Sulfrian | 2016-11-23 | 1 | -4/+1 |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | The NagiosGen backwards-compatibility layer was removed in 3b3ecb4fcba471d33dbd118c02798e6f3f4b9927. | ||||
* | | | | | Merge branch 'provide-more-useful-missingca-message' of github.com:solj/bcfg2 | Sol Jerome | 2016-11-29 | 1 | -0/+3 |
|\ \ \ \ \ | |||||
| * | | | | | 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> | ||||
* / / / / | doc: Fix typo | Alexander Sulfrian | 2016-11-24 | 1 | -1/+1 |
|/ / / / |