Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bcfg2-admin: Check for django before checking django version | Dmitri Iouchtchenko | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | 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 |
|\ \ | |||||
| * | | Set value for data in case accept_input is false. | Gordon Messmer | 2016-04-21 | 1 | -1/+2 |
| | | | |||||
| * | | Bcfg2.Options.Subcommand must not access Options.setup in __init__. | Gordon Messmer | 2016-04-21 | 1 | -8/+14 |
| | | | |||||
| * | | Only read input if accept_input is True. | Gordon Messmer | 2016-04-21 | 1 | -7/+8 |
| | | | |||||
| * | | Remove PositionalArgument. It was incomplete and did not work as intended, ↵ | Gordon Messmer | 2016-04-21 | 1 | -4/+1 |
| | | | | | | | | | | | | requiring two positional args instead of one. | ||||
| * | | Fix format error in logger call. | Gordon Messmer | 2016-04-21 | 1 | -2/+2 |
| | | | |||||
| * | | Handle rid intelligently, to avoid infinite loop. | Gordon Messmer | 2016-04-21 | 1 | -5/+2 |
| | | | |||||
* | | | Fix long line. | Gordon Messmer | 2016-04-01 | 1 | -1/+2 |
| | | | |||||
* | | | Generate ed25519 keys. | Gordon Messmer | 2016-03-31 | 1 | -1/+7 |
|/ / | |||||
* | | Merge branch 'setup-options' of https://github.com/gordonmessmer/bcfg2 | Sol Jerome | 2016-03-03 | 4 | -4/+7 |
|\ \ | |||||
| * | | Correct the name of the server's location option. | Gordon Messmer | 2016-02-17 | 2 | -4/+4 |
| | | | |||||
| * | | Add dest= arg to fix option that is referenced as cfg_validation. | Gordon Messmer | 2016-02-17 | 1 | -0/+1 |
| | | | |||||
| * | | Add dest= arg to fix LDAP options. | Gordon Messmer | 2016-02-17 | 1 | -0/+2 |
| | | | |||||
* | | | Lint/TemplateHelper: Fix parameters | Alexander Sulfrian | 2015-11-18 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | The HelperModules of the TemplateHelper now expects a second argument with the core, to be able to expire the metadata cache. This is a fix-up for 36b2aa66627a4cc147f982d03688ae9df14bbe08. | ||||
* | | Info: EventDebug, Update and Quit are now command classes | Alexander Sulfrian | 2015-10-13 | 1 | -17/+26 |
| | | |||||
* | | DefaultACL: Deny remote access to expire_metadata_cache | Alexander Sulfrian | 2015-10-13 | 1 | -1/+2 |
| | | |||||
* | | Info: expirecache only for interactive shell | Alexander Sulfrian | 2015-10-13 | 1 | -0/+1 |
| | | | | | | | | | | The expirecache subcommand is only usefull from an interactive shell, so do not advertise it in the help from the commandline. | ||||
* | | Info: Fix expirecache subcommand | Alexander Sulfrian | 2015-10-13 | 1 | -5/+4 |
| | | | | | | | | The expirecache subcommand was using an old API. | ||||
* | | Info: Fix bcfg2-info shell | Alexander Sulfrian | 2015-10-13 | 1 | -25/+47 |
| | | |||||
* | | Admin: Add expirecache command | Alexander Sulfrian | 2015-10-13 | 2 | -0/+34 |
| | | | | | | | | | | | | | | Expirecache is now part of bcfg2-admin and will call expire_metadata_cache from Core via XML-RPC. This will expire the metadata cache of the supplied clients (or the complete cache if no arguments are supplied) on a running bcfg2-server. | ||||
* | | Merge pull request #299 from AlexanderS/fix/caching | Chris St. Pierre | 2015-10-05 | 8 | -23/+76 |
|\ \ | | | | | | | Expire metadata cache in all Connector plugins. | ||||
| * | | Properties: Expire the metadata cache during reload of the files | Alexander Sulfrian | 2015-07-27 | 1 | -11/+30 |
| | | | |||||
| * | | Probes: Use core.metadata_cache instead of Bcfg2.Server.Cache | Alexander Sulfrian | 2015-07-27 | 1 | -7/+8 |
| | | | |||||
| * | | AWSTags: Expire metadata cache at start of client run | Alexander Sulfrian | 2015-07-27 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | AWSTags cannot know whether the tags change, so it cannot expire the metadata cache correctly. Instead we have to expire the cache at beginning of each client run. This practically disables agressive client metadata caching, so we print a warning. | ||||
| * | | PuppetENC: Fix cache expiration | Alexander Sulfrian | 2015-07-27 | 1 | -1/+1 |
| | | | | | | | | | | | | This was maybe missing in 38f3cfcfd. | ||||
| * | | GroupLogic: Expire metadata cache on config file changes | Alexander Sulfrian | 2015-07-27 | 1 | -1/+12 |
| | | | |||||
| * | | SSHbase: Expire metadata cache on pubkey event | Alexander Sulfrian | 2015-07-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | SSHbase supply the public keyfiles as additional metadata, so we need to expire the metadata cache if we get an event for such file. We would only need to expire the metadata cache for hosts, that reference that exact file (host or group specific) but we cannot get this information, so that we simply expire the metadata cache for all hosts. | ||||
| * | | Ohai: Expire metadata cache, if ohai data changes | Alexander Sulfrian | 2015-07-27 | 1 | -1/+6 |
| | | | |||||
| * | | TemplateHelper: Expire metadata cache on FileMonitor event | Alexander Sulfrian | 2015-07-27 | 1 | -2/+10 |
| | | | |||||
* | | | Merge branch 'fix/django1.7' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-10-01 | 6 | -32/+53 |
|\ \ \ | |||||
| * | | | Reports: Add explicit default value | Alexander Sulfrian | 2015-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Django changed the default value for BooleanFields some time ago, so we add an explicit default value to remove the warnings. | ||||
| * | | | Reports: Fix InternalDatabaseVersion | Alexander Sulfrian | 2015-09-23 | 2 | -14/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | You could not import a class, that is defined in a function. We need to return the class, but we do not want to define it multiple times. So we have to save the class in a global variable. | ||||
| * | | | Replace close_connection() for newer django versions | Alexander Sulfrian | 2015-09-23 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | django.db.close_connection() is deprecated in django1.7 (and removed in 1.8). The new django.db.close_old_connections() does not seem to work like the old one (see http://stackoverflow.com/a/32614137), so we replace it with an own implementation. | ||||
| * | | | Server: Use close_db_connection decorator everywhere | Alexander Sulfrian | 2015-09-23 | 1 | -4/+1 |
| | | | | |||||
| * | | | Server/Admin: Remove load_models() call | Alexander Sulfrian | 2015-09-23 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | The models should be loaded during the options parsing and so this call issues a warning message from django, that the models are already registered. | ||||
| * | | | Server/Admin: Remove call of django.setup | Alexander Sulfrian | 2015-09-23 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | django.setup() is already called from the option parsing before. | ||||
| * | | | Reporting: Clear error message if django is missing | Alexander Sulfrian | 2015-09-23 | 1 | -8/+7 |
| | | | |