Refactor #13133
Improve readability of provided job templates
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:
Description
extract common bash functions to some snippet (e.g. die function), maybe add a commentary so it's not the first thing that user see
Associated revisions
History
#1
Updated by Ivan Necas over 6 years ago
- Target version set to 98
#2
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/152 added
#3
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|4eba7de1875e61c945a460146087c1451a1375a6.
#4
Updated by Marek Hulán over 6 years ago
- Legacy Backlogs Release (now unused) set to 125
fixes #13133, #13632 - improve package action template
This change renames the 'die' function to 'exit_with_message' as some
users found it particularly terrifying to see this as the first line in
the template preview. It also adds documentation to the function.
Secondly, it causes the package action template to fail more gracefully
when a host has no operating system, or an unsupported one.