backport #14868 for Chef 18#15091
Merged
tpowell-progress merged 2 commits intochef:chef-18from Jul 15, 2025
Merged
Conversation
8f68f13 to
70543d8
Compare
…ge (chef#14868) Some packages don't use preseeds but they alter the installation by providing environment variables, percona for example expects a `PERCONA_TELEMETRY_DISABLE=1` to disable the at-install time telemetry. This commit adds the functionality to add an environment hash that is passed to `shell_out!()`. A resource with this property could look like something like this: ```ruby apt_package "percona-xtradb-cluster-server" do environemnt({"PERCONA_TELEMETRY_DISABLE" => "1"}) end ``` [percona installation-time telemetry](https://docs.percona.com/percona-server/8.0/telemetry.html#installation-time-telemetry) Signed-off-by: Kristof Vandam <kristof.vandam@gmail.com>
Signed-off-by: Frederik Thuysbaert <frederik.thuysbaert@combell.group>
70543d8 to
a54dabf
Compare
|
tpowell-progress
approved these changes
Jul 15, 2025
Merged
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
#14868 backport
Types of changes
Checklist:
Gemfile.lockhas changed, I have used--conservativeto do it and included the full output in the Description above.