(FACT-2816) - Fix ec2 fact issues when on non ec2 systems#2106
Merged
oanatmaria merged 1 commit intopuppetlabs:mainfrom Sep 28, 2020
Merged
(FACT-2816) - Fix ec2 fact issues when on non ec2 systems#2106oanatmaria merged 1 commit intopuppetlabs:mainfrom
oanatmaria merged 1 commit intopuppetlabs:mainfrom
Conversation
Contributor
Author
|
🏷️ bugfix Adding labels are greyed out and I don't have permission to add. |
oanatmaria
reviewed
Sep 25, 2020
oanatmaria
reviewed
Sep 25, 2020
Contributor
|
Hi @logicminds, First of all i want to thank you for your contribution and for reporting this issue. I've created this ticket to track this bug. Could you please fill up some details in the ticket above (like with what version of Facter this bug was found, the os you found the issue on and a short description about the wrong output of Facter)? Also can you change the commit message to indicate to that Jira ticket, something like: |
|
CLA signed by all contributors. |
* previously when ec2 facts are executed the check_product_name
was run which incorrectly returned a hash of values when the product
name did not exist in the hypervisor hash. This is an edge case
on linux systems not in ec2.
Contributor
Author
|
All items have been addressed. Please review. @oanatmaria |
oanatmaria
approved these changes
Sep 28, 2020
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.
was run which incorrectly returned a hash of values when the product
name did not exist in the hypervisor hash. This is an edge case
on linux systems not in ec2.
This caused errors messages how hashes cannot be converted since the expected value was supposed to be a string.