Skip to content

Commit

Permalink
Fixes #11285: When running \"rudder agent inventory\", all other repo…
Browse files Browse the repository at this point in the history
…rts are missing on the server
  • Loading branch information
amousset committed Aug 23, 2017
1 parent c0663fd commit a04115b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit a04115b

Please sign in to comment.