Skip to content

Commit

Permalink
Merge branch 'bug_17891/if_gzip_is_not_installed_the_inventory_is_not…
Browse files Browse the repository at this point in the history
…_sent_pr' into branches/rudder/6.0
  • Loading branch information
peckpeck committed Jul 8, 2020
2 parents 489b99f + 8a618fc commit d2c56b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techniques/system/inventory/1.0/fusionAgent.st
Original file line number Diff line number Diff line change
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

0 comments on commit d2c56b2

Please sign in to comment.