Project

General

Profile

Feature #4927

[RFE] foreman-debug should provide a means for plugins to extend what is collected.

Added by Bryan Kearney about 5 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When a plugin in installed into foreman, it also may want to add additional debug data. The foreman-debug command should support extensions from plugins.

Associated revisions

Revision 0c93b462 (diff)
Added by Bryan Kearney about 5 years ago

Fixes #4927 - Extend foreman-debug to look for extensions provided by plugins.

This assumes a directory called /usr/share/foreman/script/foreman-debug.d.
Any *.sh file in there is sourced. The expectation is that plugins would put
files into this locations and can add files or commands as necessary

History

#1 Updated by Dominic Cleal about 5 years ago

  • Tracker changed from Bug to Feature
  • Category set to Packaging
  • Status changed from New to Ready For Testing
  • Assignee set to Bryan Kearney
  • Target version set to 1.8.4
  • Legacy Backlogs Release (now unused) set to 4

#2 Updated by Anonymous about 5 years ago

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

#3 Updated by Lukas Zapletal about 5 years ago

Bryan, are you dropping katello-debug from the distribution for Sat6?

If so, this plugin can go away then: https://github.com/sosreport/sosreport/tree/master/sos/plugins/katello.py

Also available in: Atom PDF