Feature #4927

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

Added by Bryan Kearney over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Bryan Kearney
Category:Packaging
Target version:Sprint 22
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

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
Added by Bryan Kearney over 3 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 over 3 years ago

  • Tracker changed from Bug to Feature
  • Category set to Packaging
  • Status changed from New to Ready For Testing
  • Assigned To set to Bryan Kearney
  • Target version set to Sprint 22
  • Release set to 1.5.0

#2 Updated by Anonymous over 3 years ago

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

#3 Updated by Lukas Zapletal over 3 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