Skip to content

Use msi capabilities for chef #4949

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

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Jun 7, 2024

Description:
Leverage the latest MSI capabilities so we don't rely on custom Chef code to install the collector on Windows. At this point if the user wants to install only the collector on Windows they can directly use https://docs.chef.io/resources/windows_package/

The change itself move the handling of the configuration options (env. vars) to a step before installing the MSI. The MSI properties are passed on all versions since legacy versions would simply ignore the unknown properties. The code to setup the registry is only invoked when installing a MSI version that doesn't support the install properties.

Testing: CI

Documentation:
This change is not noticeable to end users, they can keep using the same settings that they used before.

@pjanotti pjanotti requested review from a team as code owners June 7, 2024 15:39
Copy link
Contributor

@jeffreyc-splunk jeffreyc-splunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pjanotti
Copy link
Contributor Author

If you want to release these changes...

I will release all 3 mass deployments after Puppet is done. Thanks for the reminder about that.

@pjanotti pjanotti merged commit 77529d2 into signalfx:main Jun 10, 2024
28 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2024
@pjanotti pjanotti deleted the use-msi-capabilities-for-chef branch June 10, 2024 22:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants