Actions
Feature #29822
openConsolidate checks/ and hooks that act as checks as a mechanism that works like hooks
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Current state is there is a Kafo feature called checks/ to provide "system" checks before the installation runs. There are also hooks/ that provide similar functionality, e.g.
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/pre/15-check_java.rb
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/pre/15-check-disk.rb
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/pre_validations/10-check_foreman_proxy_pulp.rb
The hooks concept provides more access to tools, and related data such as input parameters and the answers file than does the checks/ directory. These two should be re-conciled into hooks.
Possible ideas:
- create a dedicated checks/ hook phase to make it obvious
Actions