Commit Graph

5 Commits (ac6ccb77cc7f7aca228f3e8a28c9e00df17d70fc)

Author SHA1 Message Date
Michael Scherer 12bf9a8b69 add a way for callback to disable itself
The idea is that some plugin would not be called in some
specific case, and the callback should decide by itself.

Having a way to globally disable it is much cleaner than
disabling every method one by one on the plugin side.

My use case is for fedora-infrastructure that cannot be run
from git checkout since it try to connect to the message bus,
but another case would be to bootstrap infrastructure, or to
run the code on a test servers without having all the callback
infrastructure setup.
11 years ago
Chris Church d1de7839d7 Renamed on_no_hosts_matched/on_no_hosts_remaining to correct names in noop callback, added methods to callback plugin examples. 12 years ago
Rodney Quillo 395093e0bf Move default arguments to the end of the function call. 12 years ago
Rodney Quillo 7ae100611c Adding default on vars_prompt 12 years ago
Michael DeHaan 41dd4a1f93 Merge plugins tree 12 years ago