Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Packages: Add 'dummy' packages backend | Alexander Sulfrian | 2022-01-16 | 2 | -1/+36 |
| | | | | This backend will not add any packages. | ||||
* | Packages: Ignore unicode errors in pkgng metadata | Alexander Sulfrian | 2022-01-16 | 1 | -3/+1 |
| | | | | | | The messages of the packages in the packagesite file may be encoded in any encoding. We only need the dependencies and just ignore the unicode errors. | ||||
* | Bundler: Use BoundBundle for the RequiredBundles | Alexander Sulfrian | 2022-01-16 | 1 | -1/+1 |
| | | | | The Bundle do not need to be bound by another plugin. | ||||
* | Do not encode py3 strings to utf-8 again. Compat.unicode matches strings and ↵ | xschlef | 2019-07-18 | 1 | -1/+2 |
| | | | | unicode in py3. | ||||
* | Merge branch 'feature/ldap-enhancements' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2017-08-31 | 2 | -80/+96 |
|\ | |||||
| * | Server/Plugins/Ldap: Fix module name | Alexander Sulfrian | 2017-03-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | If the module name contains slashes, python will issue an warning: > Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import > from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery So we simply use the basename without the file extension for the module name. | ||||
| * | Server/Plugins/Ldap: Support arbitrary ldap options | Alexander Sulfrian | 2017-03-21 | 1 | -2/+7 |
| | | | | | | | | | | | | You can now set arbitrary ldap option for the connection by specifying a dict with the key and the value. You should use the constants from python-ldap. | ||||
| * | Server/Plugins/Ldap: Support specifying the ldap uri | Alexander Sulfrian | 2017-03-21 | 1 | -6/+12 |
| | | | | | | | | | | | | | | You can now specify the server to connect by either host (and optionally port) or by specifying the full ldap uri. If you specify host and port the connection will use the plain (unencrypted) ldap protocol by default. Only if you specify the port "636", it will use ldaps now. | ||||
| * | Server/Plugins/Ldap: Cache the results of the Ldap queries | Alexander Sulfrian | 2017-03-21 | 1 | -17/+52 |
| | | | | | | | | | | | | | | 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/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: Move OnDemandDict to helpers | Alexander Sulfrian | 2017-03-21 | 1 | -49/+3 |
| | | | | | | | | The OnDemandDict could be used by different plugins. | ||||
* | | 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. | ||||
* | Merge pull request #373 from AlexanderS/fix/django1.9/report-collector | Alexander Sulfrian | 2017-01-10 | 2 | -21/+16 |
|\ | | | | | Fix bcfg2-report-collector for django-1.9 | ||||
| * | DBSettings: Call django.setup() right after configuring the settings | Alexander Sulfrian | 2016-11-28 | 2 | -21/+16 |
| | | | | | | | | | | | | 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. | ||||
* | | 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. | ||||
* | 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> | ||||
* | | 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 branch 'pacman' of https://github.com/0/bcfg2 | Sol Jerome | 2016-09-15 | 1 | -14/+128 |
|\ | |||||
| * | Packages/Pac: Handle groups | Dmitri Iouchtchenko | 2016-09-12 | 1 | -1/+38 |
| | | |||||
| * | Packages/Pac: Parse dependencies | Dmitri Iouchtchenko | 2016-09-12 | 1 | -13/+90 |
| | | |||||
* | | Packages: Strip ':any' suffix from APT dependencies | Dmitri Iouchtchenko | 2016-09-08 | 1 | -0/+11 |
|/ | |||||
* | Add support for rawurl in Apt | Ronak Buch | 2016-08-17 | 1 | -3/+7 |
| | |||||
* | Server/Plugins/Ldap: Module should be importable without the python-ldap | Alexander Sulfrian | 2016-08-17 | 1 | -6/+11 |
| | |||||
* | 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 | 2 | -0/+3 |
|\ \ | |/ |/| | |||||
| * | 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 |
| | | |||||
* | | 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 |
| | | |