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

Pin to Ohai gem < 17 #1013

Merged
merged 1 commit into from
Apr 28, 2021
Merged

Pin to Ohai gem < 17 #1013

merged 1 commit into from
Apr 28, 2021

Conversation

schisamo
Copy link
Contributor

Ohai 17 requires Ruby 2.7+ but we currently ship Ruby 2.6 inside of
Omnibus Toolchain. This pinning of Ohai should be viewed as a temporary
fix until we can ship a new version of Omnibus Toolchain which contains
Ruby 2.7+.

Signed-off-by: Seth Chisamore schisamo@chef.io

Description

Briefly describe the new feature or fix here


Maintainers

Please ensure that you check for:

  • [] If this change impacts git cache validity, it bumps the git cache
    serial number
  • [] If this change impacts compatibility with omnibus-software, the
    corresponding change is reviewed and there is a release plan
  • [] If this change impacts compatibility with the omnibus cookbook, the
    corresponding change is reviewed and there is a release plan

Ohai 17 requires Ruby 2.7+ but we currently ship Ruby 2.6 inside of
Omnibus Toolchain. This pinning of Ohai should be viewed as a temporary
fix until we can ship a new version of Omnibus Toolchain which contains
Ruby 2.7+.

Signed-off-by: Seth Chisamore <schisamo@chef.io>
@schisamo schisamo requested review from a team as code owners April 28, 2021 17:40
@tas50 tas50 merged commit e7c093c into master Apr 28, 2021
@tas50 tas50 deleted the schisamo/pin-ohai branch April 28, 2021 18:33
balasankarc added a commit to balasankarc/omnibus that referenced this pull request Oct 8, 2021
The restricton `< 17` was originally added by 2777c5b in
chef#1013 because `omnibus-toolchain`
was still shipping Ruby 2.6 at that time, and Ohai 17 required Ruby 17.
However, starting with
chef/omnibus-toolchain#153, `omnibus-toolchain`
is on Ruby 2.7+, and hence this restriction can be removed.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
balasankarc added a commit to balasankarc/omnibus that referenced this pull request Oct 8, 2021
The restricton `< 17` was originally added by 2777c5b in
chef#1013 because `omnibus-toolchain`
was still shipping Ruby 2.6 at that time, and Ohai 17 required Ruby 17.
However, starting with
chef/omnibus-toolchain#153, `omnibus-toolchain`
is on Ruby 2.7+, and hence this restriction can be removed.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
balasankarc added a commit to balasankarc/omnibus that referenced this pull request Oct 8, 2021
The restricton `< 17` was originally added by 2777c5b in
chef#1013 because `omnibus-toolchain`
was still shipping Ruby 2.6 at that time, and Ohai 17 required Ruby 17.
However, starting with
chef/omnibus-toolchain#153, `omnibus-toolchain`
is on Ruby 2.7+, and hence this restriction can be removed.

To be on the safe side, we are bumping the upper limit to 18 to avoid
any surprises when next major version of Ohai comes out.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
johnmccrae pushed a commit that referenced this pull request Sep 28, 2022
The restricton `< 17` was originally added by 2777c5b in
#1013 because `omnibus-toolchain`
was still shipping Ruby 2.6 at that time, and Ohai 17 required Ruby 17.
However, starting with
chef/omnibus-toolchain#153, `omnibus-toolchain`
is on Ruby 2.7+, and hence this restriction can be removed.

To be on the safe side, we are bumping the upper limit to 18 to avoid
any surprises when next major version of Ohai comes out.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
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.

3 participants