Feature #25058
Handle unknown modules in module_enabled? hook context
Description
If you have modules that are not available in every scenario. In the katello case there's katello_devel for example. Currently there's a workaround in the installer for when kafo.module returns nil but the hook itself can handle this as well. Unknown modules can be considered disabled.
Related issues
Associated revisions
History
#1
Updated by Ewoud Kohl van Wijngaarden almost 4 years ago
- Blocks Refactor #25059: Rely on kafo's module_enabled hook added
#2
Updated by The Foreman Bot almost 4 years ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/kafo/pull/228 added
#3
Updated by Ewoud Kohl van Wijngaarden almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 9a209d6c99292674e463f758567c043980138cd7.
Fixes #25058 - More robust module_enabled?
If you have modules that are not available in every scenario. In the
katello case there's katello_devel for example. Currently there's a
workaround in the installer for when kafo.module returns nil but the
hook itself can handle this as well. Unknown modules can be considered
disabled.