Project

General

Profile

Actions

Bug #13785

closed

"rudder-pkg enable-all" command fails when a plugin has no jar

Added by Benoît PECCATTE about 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

sudo /opt/rudder/bin/rudder-pkg plugin enable-all
Enabling rudder-plugin-glpi
Traceback (most recent call last):
File "/opt/rudder/bin/rudder-pkg", line 404, in <module>
plugin_enable_all()
File "/opt/rudder/bin/rudder-pkg", line 365, in plugin_enable_all
plugin_status(DB["plugins"].keys(), True)
File "/opt/rudder/bin/rudder-pkg", line 376, in plugin_status
for j in metadata['jar-files']:
KeyError: 'jar-files'

Actions

Also available in: Atom PDF