Feature #23677

Additional configuration options for foreman-debug

Added by Quirin Pamp about 1 month ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:-
Category:foreman-debug
Target version:1.19.0
Difficulty:easy Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/5605

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

Revision f34e9013
Added by Quirin Pamp about 1 month ago

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.

History

#1 Updated by The Foreman Bot about 1 month 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 1 month ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#3 Updated by Daniel Lobato Garcia about 1 month ago

  • Legacy Backlogs Release (now unused) set to 353

Also available in: Atom PDF