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

Don't use epoch/release for yum package version on Chef < 14 #856

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

bkabrda
Copy link
Contributor

@bkabrda bkabrda commented Aug 9, 2022

The yum logic has been rewritten in Chef 14 and using epoch/release is correct (and necessary), however on Chef < 14 not using epoch/release is correct (and necessary).

@bkabrda bkabrda requested a review from a team as a code owner August 9, 2022 15:13
Copy link
Member

@amenasria amenasria left a comment

Choose a reason for hiding this comment

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

LGTM !

@bkabrda bkabrda merged commit e3616d0 into main Aug 10, 2022
@bkabrda bkabrda deleted the slavek.kabrda/fix-chef-14-yum-package-version branch August 10, 2022 11:24
jeffbyrnes pushed a commit to jeffbyrnes/chef-datadog that referenced this pull request Aug 25, 2022
)

In DataDog#856, we reverted the logic introduced in DataDog#839 when Chef < 14 is used, as the yum logic in Chef < 14 doesn't support the use of epochs.

However, before DataDog#839, the release was added in all cases to the package version. In DataDog#856 we forgot to restore that, which this PR does.
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