Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SLES 15 #43

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Conversation

anders-larsson
Copy link
Contributor

Adds support for SLES 15.

} elsif $facts['os']['family'] == 'Suse' and !($facts['os']['release']['major'] in ['11','12']) {
fail("osfamily Suse's os.release.major is <${::facts['os']['release']['major']}> and must be 11 or 12")
} elsif $facts['os']['family'] == 'Suse' and !($facts['os']['release']['major'] in ['11','12','15']) {
fail("osfamily Suse's os.release.major is <${::facts['os']['release']['major']}> and must be 11, 12 and 15")
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks @anders-larsson for your contribution.

For the sentence to make sense it should end with "11, 12 or 15"

Would you mind making that small change and squashing/rebasing and I'll get this merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh. Yes ofcouse. It should definitely be 'or' there.

@ghoneycutt
Copy link
Owner

@anders-larsson
Copy link
Contributor Author

anders-larsson commented Oct 30, 2019

@ghoneycutt Thanks for your fast review! I'll fix it tomorrow. Do you want me to add it to travis as well? Right now it doesn't appear any Suse entries are tested.

  • metadata.json (reminder for myself)

Thanks again!

@ghoneycutt
Copy link
Owner

It doesn't appear that we add the versions to metadata.json. I believe that is related to those fields being facts and those facts not aligning between Suse versions. But what does make sense between Suse versions :) So you can skip modifying metadata.json.

We do not have acceptance testing for Suse as I don't believe there are Docker images for the specific versions. You are more than welcome to add them, though not at all required. If you are excited to play with that, suggest doing it in another pull request so we can get this merged.

@anders-larsson
Copy link
Contributor Author

I've updated the pull request with the requested changes.

@ghoneycutt ghoneycutt merged commit 4bba83f into ghoneycutt:master Oct 31, 2019
@ghoneycutt
Copy link
Owner

Thanks @anders-larsson

Released in v2.4.0

@anders-larsson anders-larsson deleted the support_sles15 branch October 31, 2019 16:21
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