bareos: master de1dd5b2

Author Committer Branch Timestamp Parent
arogge arogge master 2023-11-23 20:43 master 399b037a Pending
Changeset python-fd: provide config-file handling

this patch extends BareosFdPluginBaseclass to provide a standard way to
work with plugin configuration files.

When the plugin options parser encounters one of the options
defaults_file or overrides_file, it will treat the values as a path to
an ini-style configuration file and will try to read it. The resulting
options are added with precedence overrides_file, plugin definition,
defaults_file.
The code will consume the defaults_file and overrides_file options, so
the plugin will not see them later.
mod - core/src/plugins/filed/python/pyfiles/BareosFdPluginBaseclass.py Diff File