diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-08-08 16:48:40 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-08-08 16:51:14 +0100 |
commit | 138bc243aa592cd628f6e41a1b3c35f1f01f3c37 (patch) | |
tree | 9123588c86fd5686f21776ef034bb25cd2a07f48 /po/te.po | |
parent | ed000dcc49c872d28ad5352eedafcb40c9e5da11 (diff) | |
download | sos-138bc243aa592cd628f6e41a1b3c35f1f01f3c37.tar.gz |
[Plugin] add executable command enablement checks
Add a new list/tuple member to the Plugin class that contains a
list of executable commands that will enable the plugin if any
are present.
For example, a plugin:
class MyPlugin(Plugin, RedHatPlugin):
commands = ('mycmd1', 'mycmd2')
Will be automatically enabled if either 'mycmd1' or 'mycmd2'
is present and executable in the policy defined PATH for the
run.
Related: #1051.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po/te.po')
0 files changed, 0 insertions, 0 deletions