Skip to content

Add Support for RedHat/CentOS 8#594

Merged
bastelfreak merged 1 commit intovoxpupuli:masterfrom
treydock:el8
Dec 15, 2020
Merged

Add Support for RedHat/CentOS 8#594
bastelfreak merged 1 commit intovoxpupuli:masterfrom
treydock:el8

Conversation

@treydock
Copy link
Copy Markdown
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
Copy Markdown
Member

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

Comment thread manifests/params.pp Outdated
$ensure = 'present'
$version = 'system'
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '8' {
$version = '3'
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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