Actions
Bug #5066
closedMissing dependency on which
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Hi again again,
In rudder-agent-thin (maybe rudder-agent too), /opt/rudder/bin/run-inventory calls the "which" command:
[... blablabla] if [ -x /opt/rudder/bin/perl ]; then [...] elif which fusioninventory-agent > /dev/null 2>&1; then [...] else # No usable FusionInventory installation has been detected, bail out. echo "[ERROR] No usable FusionInventory instance (either from Rudder or the system) detected." exit 1 fi
The test was failing here because the "which" package wasn't installed. Maybe it's worth adding a dependency?
Thanks.
Actions