Project

General

Profile

Feature #23677

Additional configuration options for foreman-debug

Added by Quirin Pamp 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
foreman-debug
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
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

Revision f34e9013 (diff)
Added by Quirin Pamp 5 months 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 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5605 added

#2 Updated by Quirin Pamp 5 months ago

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

#3 Updated by Daniel Lobato Garcia 5 months ago

  • Legacy Backlogs Release (now unused) set to 353

Also available in: Atom PDF