chef-datadog icon indicating copy to clipboard operation
chef-datadog copied to clipboard

Stop uninstalling/reinstalling the package each time on Windows.

Open remeh opened this issue 5 years ago • 2 comments

As the MSI is creating a custom user, the behavior of uninstalling/reinstalling was creating a new user each time.

remeh avatar Apr 10 '19 16:04 remeh

@remeh note: Starting with 6.11.0, the agent MSI won't allow downgrades anymore. Without this change I think there would be no impact on the cookbook (since for a downgrade it would uninstall the Agent and then install the lower version), but with this change I think this would need to be handled differently... Could you give the downgrade a try as well? We can then figure out whether we need to do anything specific for downgrades (or just add docs, or do nothing if everything works)

olivielpeau avatar Apr 11 '19 17:04 olivielpeau

I can confirm this change breaks the downgrades. We need a way to use the previous behaviour conditionally if we are downgrading.

albertvaka avatar Oct 08 '19 10:10 albertvaka