Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'feature/travis-container' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2017-08-18 | 14 | -42/+55 |
|\ | |||||
| * | Bcfg2/manage.py: Fix pylint errors | Alexander Sulfrian | 2017-03-29 | 1 | -6/+14 |
| | | |||||
| * | Utils: classproperty should use classmethod | Alexander Sulfrian | 2017-03-29 | 1 | -1/+1 |
| | | |||||
| * | Client: Restore python2.4 compatibility | Alexander Sulfrian | 2017-03-29 | 1 | -0/+1 |
| | | |||||
| * | Fix errros with old pylint/pep8 | Alexander Sulfrian | 2017-03-29 | 12 | -35/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | For Python2.4 we need older version of pylint and pep8, that finds some more errors: - On python2.4 _ast is not available and pylint uses compiler.ast, that seems to have some problems with the line numbers if a comment is following the pylint disable marker. - In python2.4 there is no xml.etree. But we can ignore this error because Client.XML tries to find a suitable library. - Some small formatting issues. | ||||
* | | Merge branch 'import-models' of https://github.com/0/bcfg2 into ↵ | Sol Jerome | 2017-07-11 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | add-missing-reporting-entries Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
| * | | Reporting/Storage: Import ActionEntry | Dmitri Iouchtchenko | 2017-05-08 | 1 | -2/+2 |
| | | | | | | | | | | | | It wasn't included in the transition from a wildcard import in 255faaf. | ||||
* | | | Reporting: Add POSIX User/Group Entry types | Sol Jerome | 2017-07-11 | 1 | -2/+4 |
|/ / | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Merge pull request #388 from 0/import-serviceentry | Alexander Sulfrian | 2017-05-08 | 1 | -2/+2 |
|\ \ | | | | | | | Reporting/Storage: Import ServiceEntry | ||||
| * | | Reporting/Storage: Import ServiceEntry | Dmitri Iouchtchenko | 2017-05-05 | 1 | -2/+2 |
| |/ | | | | | | | It wasn't included in the transition from a wildcard import in 255faaf. | ||||
* / | 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 |
| | |||||
* | 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 |
|\ \ \ | |/ / |/| | |