summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Server/Plugin: CallableDict is an OnDemandDict without cachingAlexander Sulfrian2017-03-211-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 OnDemandDictAlexander Sulfrian2017-03-211-4/+9
| | | | Now you can also specify simple values for the OnDemandDict.
* Server/Plugin: Move OnDemandDict to helpersAlexander Sulfrian2017-03-212-50/+50
| | | | The OnDemandDict could be used by different plugins.
* Server/Lint: Include RequiredBundle in referenced bundlesDmitri Iouchtchenko2017-03-171-0/+4
|
* Merge pull request #362 from AlexanderS/fix/missing-config-fileAlexander Sulfrian2017-03-101-1/+1
|\ | | | | Options: Missing config file is not a fatal error
| * Options: Missing config file is not a fatal errorAlexander Sulfrian2016-09-281-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-scriptsAlexander Sulfrian2017-03-101-3/+1
|\ \ | | | | | | Fix multiline scripts in bcfg2-info debug mode
| * | Fix multiline scripts in bcfg2-info debug modes19n2017-03-091-3/+1
| | |
* | | Reporting: Fix missing sys importSol Jerome2017-01-101-0/+1
|/ / | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge pull request #345 from AlexanderS/fix/django-1.10Alexander Sulfrian2017-01-102-35/+35
|\ \ | | | | | | Fixes for django 1.10
| * | Reporting/Compat: Add patterns compat methodAlexander Sulfrian2016-08-181-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 patternsAlexander Sulfrian2016-08-181-21/+22
| | |
| * | Reporting: Remove outdated commentsAlexander Sulfrian2016-08-181-13/+0
| | |
* | | Merge pull request #373 from AlexanderS/fix/django1.9/report-collectorAlexander Sulfrian2017-01-106-40/+42
|\ \ \ | | | | | | | | Fix bcfg2-report-collector for django-1.9
| * | | DBSettings: Call django.setup() right after configuring the settingsAlexander Sulfrian2016-11-285-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 importsAlexander Sulfrian2016-11-211-10/+9
| | | |
| * | | Reporting/Storage: Removed unused importAlexander Sulfrian2016-11-211-1/+0
| | | |
| * | | Reporting/Storage: Load django models after option parsingAlexander Sulfrian2016-11-211-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 importAlexander Sulfrian2016-11-211-1/+4
| | | |
* | | | Merge pull request #369 from AlexanderS/fix/lint/augeasAlexander Sulfrian2016-11-291-59/+107
|\ \ \ \ | | | | | | | | | | Lint: Some fixes of the required attributes
| * | | | Server/Lint: Replace dict with {}Alexander Sulfrian2016-11-291-59/+99
| | | | |
| * | | | Server/Lint: Fix code styleAlexander Sulfrian2016-11-211-4/+9
| | | | |
| * | | | Server/Lint: Add missing required attributesAlexander Sulfrian2016-11-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | owner, group and mode are required for all path entries representing files or directories.
| * | | | Server/Lint: Add required attrs for augeas path entriesAlexander Sulfrian2016-11-211-0/+2
| | | | |
| * | | | Server/Lint: name attribute is required for all Path entriesAlexander Sulfrian2016-11-211-20/+19
| | | | |
* | | | | Merge pull request #372 from AlexanderS/fix/nagiosgenAlexander Sulfrian2016-11-291-5/+3
|\ \ \ \ \ | | | | | | | | | | | | Some small fixes for NagiosGen
| * | | | | Server/Plugins/NagiosGen: Remove the list conversionAlexander Sulfrian2016-11-231-5/+3
| | | | | |
| * | | | | Server/Plugins/NagiosGen: Always include default groupAlexander Sulfrian2016-11-231-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 messageSol Jerome2016-11-231-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 commentAlexander Sulfrian2016-11-211-2/+2
|/ / /
* | | Merge pull request #368 from solj/fix-ssl-futurewarningAlexander Sulfrian2016-11-211-2/+2
|\ \ \ | | | | | | | | Cfg: Fix SSLCA key generation
| * | | Cfg: Fix SSLCA key generationSol Jerome2016-11-181-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-lxmlAlexander Sulfrian2016-11-211-14/+15
|\ \ \ \ | | | | | | | | | | Client/Tools/POSIX: Avoid lxml features in Augeas
| * | | | Client/Tools/POSIX: Avoid lxml features in AugeasDmitri Iouchtchenko2016-11-041-14/+15
| |/ / /
* / / / Packages: Cleanup pkgnamesAlexander Sulfrian2016-11-173-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-typoAlexander Sulfrian2016-09-281-1/+1
|\ \ \ | | | | | | | | Admin: Remove extraneous quote
| * | | Admin: Remove extraneous quoteSol Jerome2016-09-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | | Options: Fix default repository pathSol Jerome2016-09-281-1/+1
|/ / / | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'select_related' of https://github.com/0/bcfg2Sol Jerome2016-09-161-1/+1
|\ \ \
| * | | Reporting: Remove invalid fields from select_relatedDmitri Iouchtchenko2016-09-151-1/+1
| | |/ | |/|
* | | Merge branch 'pacman' of https://github.com/0/bcfg2Sol Jerome2016-09-152-19/+132
|\ \ \ | |/ / |/| |
| * | Client/Tools/Pacman: Decrease logging levelsDmitri Iouchtchenko2016-09-121-5/+4
| | |
| * | Packages/Pac: Handle groupsDmitri Iouchtchenko2016-09-121-1/+38
| | |
| * | Packages/Pac: Parse dependenciesDmitri Iouchtchenko2016-09-121-13/+90
| | |
* | | Merge branch 'fix/testsuite/db-tests' of https://github.com/AlexanderS/bcfg2Sol Jerome2016-09-121-29/+5
|\ \ \
| * | | Revert "Revert "removed duplicate plugins option""Alexander Sulfrian2016-09-121-29/+5
| |/ / | | | | | | | | | This reverts commit 8bcd3b7d717186f14bdd2482e46c2a6feee51767.
* | | Merge branch 'django-check' of https://github.com/0/bcfg2Sol Jerome2016-09-121-1/+1
|\ \ \
| * | | bcfg2-admin: Check for django before checking django versionDmitri Iouchtchenko2016-09-111-1/+1
| |/ /
* / / Packages: Strip ':any' suffix from APT dependenciesDmitri Iouchtchenko2016-09-081-0/+11
|/ /
* | Merge branch 'fix/django1.9/url-tags' of https://github.com/AlexanderS/bcfg2Sol Jerome2016-09-0213-53/+31
|\ \