Project

General

Profile

Bug #13682

server command based on jq should exit when jq is not installed and explain to install it

Added by Vincent MEMBRÉ about 2 months ago. Updated 13 days ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
93

Description

Server commands based on jq (like directive-upgrade, but not only) are failling when running them if jq is not installed

We should check that jq is installed and if not exit with an error explaining that you need jq to use this command

The following commands contains use to jq:

  • directive-upgrade
  • directive-replace
  • directive-migrate-package

This is already done in remote-run command, so this should be put in a lib and used in other commands

Associated revisions

Revision 6d2499b0 (diff)
Added by Félix DALLIDET 27 days ago

Fixes #13682: server command based on jq should exit when jq is not installed and explain to install it

History

#1 Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 4.3.6 to 4.3.7

#2 Updated by François ARMAND about 1 month ago

  • Effort required set to Very Small

#3 Updated by François ARMAND about 1 month ago

  • Tags set to Sponsored, community
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins

#4 Updated by François ARMAND about 1 month ago

  • Priority changed from 0 to 94

Priority not updated? Trying to save again.

#5 Updated by Félix DALLIDET 27 days ago

  • Status changed from New to Pending technical review
  • Assignee set to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/190

#6 Updated by Félix DALLIDET 27 days ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ 13 days ago

  • Priority changed from 94 to 93

#8 Updated by Vincent MEMBRÉ 13 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.7 and 5.0.3 which were released today.
Changelog
Changelog

Also available in: Atom PDF