Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | | |||||
| * | | | fix check for reporting in src/lib/Bcfg2/Server/Plugins/Reporting.py | Jonas Jochmaring | 2015-09-23 | 1 | -7/+11 |
| | | | | |||||
| * | | | added django.setup() calls to src/lib/Bcfg2/DBSettings.py | Jonas Jochmaring | 2015-09-23 | 1 | -2/+2 |
| | | | | |||||
| * | | | some more django 1.7 compatibility fixes | Jonas Jochmaring | 2015-09-23 | 1 | -1/+4 |
| | | | | |||||
| * | | | make Bcfg2-web compatible with django 1.7 | Jonas Jochmaring | 2015-09-23 | 1 | -4/+12 |
| | |/ | |/| | | | | | | | | | | | | | - reports.wsgi uses get_wsgi_application() now - old south-based migrations have been moved - manage.py has been updated | ||||
* | | | Merge branch 'add-schemamigration' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-10-01 | 1 | -1/+13 |
|\ \ \ | |||||
| * | | | bcfg2-admin: Add command to generate migrations | Alexander Sulfrian | 2015-09-21 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | Add makemigration for django>1.7 or schemamigration for django<=1.6 with south. | ||||
* | | | | Merge branch 'master' of https://github.com/kincl/bcfg2 | Sol Jerome | 2015-10-01 | 1 | -0/+1 |
|\ \ \ \ | |||||
| * | | | | Run the superclass shutdown() to correctly set self.started | Jason Kincl | 2015-09-29 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Bundler: Fix addition of bundle. | Alexander Sulfrian | 2015-09-30 | 1 | -1/+1 |
|/ / / / | | | | | | | | | | | | | bundles is a set and does only have add() but not append(). | ||||
* | / / | Prevent lxml Element from being passed non-string data | Gordon Messmer | 2015-09-13 | 1 | -1/+1 |
| |/ / |/| | | |||||
* | | | Compatibility with Jinja < 2.7. | Gordon Messmer | 2015-09-09 | 1 | -3/+9 |
| | | | |||||
* | | | Keep trailing newlines in Jinja2 templates. | Gordon Messmer | 2015-09-09 | 1 | -1/+3 |
| | | | |||||
* | | | Merge branch 'rules-replace_name' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-09-01 | 3 | -2/+51 |
|\ \ \ | |||||
| * | | | Rules: New options replace_name to replace %{name} in attributes | Alexander Sulfrian | 2015-08-26 | 3 | -2/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you use the regex feature of Rules/Defaults you may need the real name of the matched entry in an attribute (for example home of POSIXUser). You can now enable replace_name for rules or defaults and %{name} will be replaces in the attribues of the Element before adding them to the target entry. This allows you to write something like that in Defaults to assing a default home directory somewhere else to all users with unset home: <POSIXUser name='.*' home='/somewhere/%{name}'/> | ||||
* | | | | Merge branch 'no-jinja2' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-07-28 | 1 | -14/+15 |
|\ \ \ \ | |||||
| * | | | | Plugins/Cfg: Don't depend on jinja2 | Alexander Sulfrian | 2015-07-20 | 1 | -14/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | If jinja2 is not available, we cannot use some classes. So the access to these classes have to be dependent on the available of jinja2. | ||||
* | | | | | BuiltinCore: Fix logging with daemonization | Alexander Sulfrian | 2015-07-28 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | python-daemon closes all open files, so we need to specify the filehandles of the log files to keep logging working. | ||||
* | | | | | Ldap: Complete renew of the Ldap plugin | Alexander Sulfrian | 2015-07-24 | 1 | -165/+159 |
| | | | | | |||||
* | | | | | Utils: Generalize safe_module_name | Alexander Sulfrian | 2015-07-24 | 2 | -13/+8 |
| |_|_|/ |/| | | | | | | | | | | | | | | | Other plugins that also import user generated python source code, may want to use safe_module_name from TemplateHelper. | ||||
* | | | | Merge branch 'merge-files-ignore-binary' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-07-22 | 1 | -0/+3 |
|\ \ \ \ | |_|/ / |/| | | |