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

Add Support for RedHat/CentOS 8 #594

Merged
merged 1 commit into from
Dec 15, 2020
Merged

Conversation

treydock
Copy link
Contributor

Pull Request (PR) description

Ad support for RedHat / CentOS 8

This Pull Request (PR) fixes the following issues

This will cause conflicts with #593 so whichever is merged last will have to be rebased to fix conflicts.

@bastelfreak
Copy link
Member

I vote for merging #593 first as that has more lines in the diff so rebasing #594 is hopefully easier

@@ -10,7 +10,11 @@
}

$ensure = 'present'
$version = 'system'
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '8' {
$version = '3'
Copy link
Member

Choose a reason for hiding this comment

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

feels like we should change $version to '3' as default for all platforms. We set that in the acceptance tests and don't test anything else. (should be changed in another PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the exception should be EL7 because it feels wrong to do something different than what ships with a standard install of the OS. I think the logic could just be if EL7 , version=2 else version=3.

Copy link
Member

Choose a reason for hiding this comment

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

I will try to do that in another PR

@treydock
Copy link
Contributor Author

@bastelfreak I've rebased

@bastelfreak bastelfreak changed the title Support RedHat/CentOS 8 Add Support for RedHat/CentOS 8 Dec 15, 2020
@bastelfreak bastelfreak merged commit d9c51a8 into voxpupuli:master Dec 15, 2020
@treydock treydock deleted the el8 branch December 15, 2020 13:32
@treydock treydock mentioned this pull request Dec 23, 2020
@bastelfreak bastelfreak added the enhancement New feature or request label Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants