chef / ohai

Ohai profiles your system and emits JSON
https://docs.chef.io/ohai.html
Apache License 2.0
681 stars 452 forks source link

Fetch the user-data on Alibaba Cloud correctly #1802

Closed ETiV closed 1 year ago

ETiV commented 1 year ago

Fetch from meta-data API on Alibaba Cloud correctly by avoid fetching user-data Previous PR: #1766

Description

On Alibaba Cloud, the response of user-data metadata API is not processed properly. And, modified the unit tests to align with the actual response data.

Related Issue

1765

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information