Skip to content

Conversation

@MartyEwings
Copy link
Contributor

Prior to this commit when run against a SLES platform, peadm::download would assume the platform was EL based and form a url that was the SLES version number with the EL os family, and ultimately Fail.

This commit adds logic to detect SLES, it leaves EL detection in an "else" catch all, but this is only problematic if the plan is run against an unsupported Primary OS Family, and maintains existing behavior.

this commit is brought to you by "works for me" level testing, in that i have successfully spun up Stadard EL / sles / and Ubuntu environments with this modification

@MartyEwings MartyEwings requested a review from a team as a code owner April 8, 2022 15:16
@davidsandilands
Copy link
Contributor

@puppetlabs/solutions-architecture @MartyEwings should we update metadata.json?

@MartyEwings
Copy link
Contributor Author

@puppetlabs/solutions-architecture @MartyEwings should we update metadata.json?

yeah ill do that now

@davidsandilands davidsandilands merged commit 4fae425 into puppetlabs:main Apr 11, 2022
@reidmv reidmv changed the title Add SLES Support to pre_check task Add support for SLES 12 Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants