Feature #23677
Additional configuration options for foreman-debug
Pull request:
Fixed in Releases:
Found in Releases:
Description
I want to fully control the upload behavior of foreman-debug via the config file (foreman-debug.conf).
In particular I added the following variables to the script (and config file):
UPLOAD_URL, UPLOAD_CMD, UPLOAD_USAGE, UPLOAD_MSG_UNSET, UPLOAD_MSG_SUCCESS, UPLOAD_MSG_FAIL
With UPLOAD_URL it is possible to change the upload location via the config file.
With UPLOAD_CMD it is possible to use something other than rsync.
The others variables allow any and all upload related messages in the script to be overwritten.
Pull request will follow shortly.
Associated revisions
History
#1
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5605 added
#2
Updated by Quirin Pamp about 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset f34e90139e216a7ae91000f2614beca80e855f91.
#3
Updated by Daniel Lobato Garcia about 4 years ago
- Legacy Backlogs Release (now unused) set to 353
Fixes #23677 - Add additional config options to foreman-debug
Allows for full control of upload behaviour of foreman-debug via the
config file. The following new variables are introduced: UPLOAD_URL,
UPLOAD_CMD, UPLOAD_USAGE_MSG, UPLOAD_UNSET_MSG, UPLOAD_SUCCESS_MSG,
and UPLOAD_FAIL_MSG.