Skip to content

Pin parser dependency in chef-bin

Stan Hu requested to merge sh-backport-parser-pin-16-9 into 16-9-stable

What does this MR do and why?

This backports !7572 (merged) to 16-9-stable to fix #8532 (closed).

Installing chef-bin via gem install makes all of its dependencies floating, including the parser gem. Because the parser gem is also used by other Ruby modules, the floating dependencies can cause failures, such as a recent problem that caused gitlab-ctl to fail because inspec-core depends on parser as well. This is a temporary fix to correct the floating dependency on parser until a more permanent fix is in place.

Related issues

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch.
  • The original MR has been deployed to GitLab.com (not applicable for documentation or spec changes).
  • This MR has a severity label assigned (if applicable).

Note to the merge request author and maintainer

The process of backporting bug fixes into stable branches is tracked as part of an internal pilot. If you have questions about this process, please:

Edited by Stan Hu

Merge request reports