[client] send inventory after a successful deployment
Description
The Mender client must trigger an inventory update after a successful deployment. Today, it only does it if the client restart (e.g., after a reboot). We need to reset lastInventoryUpdateAttempt when a deployment completes, ideally in the Cleanup state.
Acceptance criteria:
The client performs an inventory update after the installation of a deployment
The Mender client must trigger an inventory update after a successful deployment. Today, it only does it if the client restart (e.g., after a reboot). We need to reset lastInventoryUpdateAttempt when a deployment completes, ideally in the Cleanup state.
Acceptance criteria:
The client performs an inventory update after the installation of a deployment