Revision a04115bb
Added by Alexis Mousset over 6 years ago
share/commands/agent-inventory | ||
---|---|---|
# Add the class to force inventory if requested
|
||
[ ${FORCE} -eq 1 ] && OPTS="-D ignore_disable_inventory"
|
||
|
||
# We need the startExecution and endExecution bundles to be able to parse the run output like a normal one
|
||
${RUDDER_BIN} agent run -D force_inventory -b startExecution,doInventory,endExecution "$@" ${OPTS}
|
||
${RUDDER_BIN} agent run -D force_inventory -b doInventory "$@" ${OPTS}
|
||
|
share/commands/agent-run | ||
---|---|---|
;;
|
||
b)
|
||
BUNDLE="-b ${OPTARG}"
|
||
# Tell the parser we don't expect a full run
|
||
FULL_COMPLIANCE=0
|
||
;;
|
||
D)
|
||
CLASSES="${CLASSES},${OPTARG}"
|
Also available in: Unified diff
Fixes #11285: When running \"rudder agent inventory\", all other reports are missing on the server