Project

General

Profile

Actions

Feature #29820

open

Add ability to have a "hook" that is dedicated to defining new parameters to the installer

Added by Eric Helms over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Today, we use the boot hook to create new parameters to the installer. Given that creating a new parameter and then executing some chunk of code based on that parameters value is a first class citizen of the installer, could we build support into Kafo for this?

For example:

https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/boot/11-clear_pulp_data_hook.rb defines the option for clearing pulp data
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/pre/11-clear_pulp_data_feature.rb defines the action to take if that option is set

One benefit of this could be finding a way to build in :noop support directly instead of having to remember to check for it.


Related issues 1 (0 open1 closed)

Related to Installer - Tracker #29746: Merge hooks/ and katello/hooks into a single directory structureClosed

Actions
Actions

Also available in: Atom PDF