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 -1 version suffix if not set on OSes with yum #685

Merged
merged 2 commits into from
Jan 28, 2020

Conversation

albertvaka
Copy link
Contributor

Adds a -1 suffix to agent versions before passing them to yum_package. Otherwise, it fails to find them.

Tested on RHEL and CentOS. Assuming it works the same way on Fedora and Amazon Linux since they also use yum.

RHEL >= 8 and Fedora >= 28 use dnf instead of `yum, which takes both formats so it should still be fine to add the suffix.

@albertvaka albertvaka force-pushed the albertvaka/rhel-auto-version branch 2 times, most recently from 26507e0 to 3741246 Compare January 28, 2020 11:22
@albertvaka albertvaka merged commit 55fdc62 into master Jan 28, 2020
@albertvaka albertvaka deleted the albertvaka/rhel-auto-version branch January 30, 2020 12:30
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