Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #11285: When running "rudder agent inventory", all other reports are missing on the server #130

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions share/commands/agent-inventory
Expand Up @@ -60,6 +60,5 @@ fi
# 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}

2 changes: 2 additions & 0 deletions share/commands/agent-run
Expand Up @@ -89,6 +89,8 @@ while getopts "uiIvdqwrRmcb:D:f" opt; do
;;
b)
BUNDLE="-b ${OPTARG}"
# Tell the parser we don't expect a full run
FULL_COMPLIANCE=0
;;
D)
CLASSES="${CLASSES},${OPTARG}"
Expand Down