Project

General

Profile

Feature #25058

Handle unknown modules in module_enabled? hook context

Added by Ewoud Kohl van Wijngaarden over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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

Blocks Installer - Refactor #25059: Rely on kafo's module_enabled hookClosed

Associated revisions

Revision 9a209d6c (diff)
Added by Ewoud Kohl van Wijngaarden over 2 years ago

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.

History

#1 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

#2 Updated by The Foreman Bot over 2 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 over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF