Skip to content

Conversation

@cthorn42
Copy link
Collaborator

@cthorn42 cthorn42 commented Feb 3, 2022

The cloud fact will now detect if the KVM hypervisor is being used and if so look to see which cloud provider is used.

@cthorn42 cthorn42 requested a review from a team as a code owner February 3, 2022 18:55
@cthorn42 cthorn42 force-pushed the maint/main/FACT-1556_add_aws_cloud_provider_fact branch from b7d4116 to 0b061f9 Compare February 4, 2022 19:25
Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

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

LGTM, might be good to install a dev build on linux and windows and confirm facter cloud.provider is what we expect?

@cthorn42 cthorn42 force-pushed the maint/main/FACT-1556_add_aws_cloud_provider_fact branch 2 times, most recently from 896ee65 to ec8c1f0 Compare February 8, 2022 00:40
@cthorn42
Copy link
Collaborator Author

cthorn42 commented Feb 8, 2022

Okay with the latest push, I tested both an EL-7 and a Windows Server 2019 on AWS. Ran into an issue where the Windows server had a 'xen' hypervisor. So updated the logic to look for both hypervisors, so I think that should cover us.
With the most recent change can confirm cloud.provider fact is show up as aws on both OSes I tested.

Cloud provider will now detect aws.
@cthorn42 cthorn42 force-pushed the maint/main/FACT-1556_add_aws_cloud_provider_fact branch from ec8c1f0 to e15dfcb Compare February 8, 2022 00:44
@cthorn42 cthorn42 merged commit 68952f2 into puppetlabs:main Feb 8, 2022
@cthorn42 cthorn42 deleted the maint/main/FACT-1556_add_aws_cloud_provider_fact branch February 8, 2022 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants