Project

General

Profile

Actions

Bug #13682

closed

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

Added by Vincent MEMBRÉ about 6 years ago. Updated over 2 years ago.

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

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

Actions #1

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.3.6 to 4.3.7
Actions #2

Updated by François ARMAND about 6 years ago

  • Effort required set to Very Small
Actions #3

Updated by François ARMAND about 6 years ago

  • Translation missing: en.field_tag_list set to Sponsored, community
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
Actions #4

Updated by François ARMAND about 6 years ago

  • Priority changed from 0 to 94

Priority not updated? Trying to save again.

Actions #5

Updated by Félix DALLIDET about 6 years 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
Actions #6

Updated by Félix DALLIDET about 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Vincent MEMBRÉ about 6 years ago

  • Priority changed from 94 to 93
Actions #8

Updated by Vincent MEMBRÉ about 6 years 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
Actions #9

Updated by Alexis Mousset over 2 years ago

  • Priority changed from 93 to 83
Actions

Also available in: Atom PDF