Landscape Sysinfo plugins do not support custom python packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Landscape Client hard codes the sysinfo plugin extension path while discovering the plugins. This makes it hard to inject plugins that are part of custom python packages. It would be really cool if the plugins could support some mechanism by which one can specify a fully qualified python Class name that implements the plugin requirements. This will also simplify extending the plugins using custom python packages.
```python
def get_plugins(self):
if self.sysinfo_
include = ALL_PLUGINS
else:
include = self.get_
if self.exclude_
exclude = []
else:
exclude = self.get_
plugins = [x for x in include if x not in exclude]
return [
)()
for plugin_name in plugins
]
```
Right now, we can use `sysinfo_plugins` to configure the list of plugins, it would be nice to extend this and add a `sysinfo_
```conf
sysinfo_
```
summary: |
- Landscape Sysinfo Plugins do not support custom python packages + Landscape Sysinfo plugins do not support custom python packages |
Status changed to 'Confirmed' because the bug affects multiple users.