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 #17891: If gzip is not installed the inventory is not sent #1611

Merged
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
4 changes: 2 additions & 2 deletions techniques/system/inventory/1.0/fusionAgent.st
Expand Up @@ -268,14 +268,14 @@ bundle agent sendInventory

files:
any::
"${g.rudder_inventories}/${fusionAgent.inventory_name}\..*"
"${g.rudder_inventories}/${fusionAgent.inventory_name}.*"
transformer => "${download_command_prefix} ${this.promiser} ${download_command_suffix}",
classes => persistent_class("inventory_sent", "cant_send_inventory", "${min_resend_delay}"),
comment => "Sending the inventory to the server";

# Once we've successfully sent all inventories, remove them
inventory_sent.!cant_send_inventory::
"${g.rudder_inventories}/${fusionAgent.inventory_name}\..*"
"${g.rudder_inventories}/${fusionAgent.inventory_name}.*"
transformer => "${g.rudder_rm} -f ${this.promiser}",
classes => if_else("inventory_file_deleted", "cant_delete_inventory_file"),
comment => "Cleaning up inventory files already sent to the server";
Expand Down