Improve readability of provided job templates
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
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.
#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.