You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be great to have the possibility to run pre/post scripts before/after system maintenance (e.g. in order to stop/start applications).
Describe the solution you'd like
The workflow could look like this:
katprep maintenance is started
pre script is executed
Patches and package upgrades are installed
post script is executed
System might be rebooted
Maintenance is completed
Describe alternatives you've considered
Additional context
Pre-/post scripts are assigned to hosts or hostgroups using key-value pairs (Uyuni: Custom Info Key, Foreman: Host Parameter):
katprep_pre-script - Pre-maintenance script
katprep_post-script - Post-maintenance script
It is possible to assign multiple scripts devided by newline, an URL needs to be supplied.
The scripts are downloaded via Remote Execution (Foreman) or Remote Command (Uyuni)
When a pre-script fails, system maintenance will not be executed. When multiple scripts are executed and one fails, remaining scripts are not executed, too. When maintenance fails, post scripts will not be run.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It would be great to have the possibility to run pre/post scripts before/after system maintenance (e.g. in order to stop/start applications).
Describe the solution you'd like
The workflow could look like this:
Describe alternatives you've considered
Additional context
Pre-/post scripts are assigned to hosts or hostgroups using key-value pairs (Uyuni: Custom Info Key, Foreman: Host Parameter):
katprep_pre-script
- Pre-maintenance scriptkatprep_post-script
- Post-maintenance scriptIt is possible to assign multiple scripts devided by newline, an URL needs to be supplied.
The scripts are downloaded via Remote Execution (Foreman) or Remote Command (Uyuni)
When a pre-script fails, system maintenance will not be executed. When multiple scripts are executed and one fails, remaining scripts are not executed, too. When maintenance fails, post scripts will not be run.
The text was updated successfully, but these errors were encountered: