Upgrade package internal Chef to version 13
Chef 12 will reach EOL in April 2018, so we should aim to move away
I've also bumped into an issue that is fixed in chef 13, so it'd be good to get those fixes without backports/monkey patches.
It's probably no trivial upgrade though.
As a quick spike:
diff --git a/Gemfile b/Gemfile
index 156b50c8..faf1a539 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,6 +4,7 @@ require_relative "lib/gitlab/version"
omnibus_gem_version = Gitlab::Version.new('omnibus', "gitlab-omnibus-ad5d3f98")
+gem 'chef', '~> 13.0'
gem 'omnibus', git: omnibus_gem_version.remote, branch: omnibus_gem_version.print(false)
gem 'ohai'
gem 'package_cloud'
Hits dependency resolution issues via omnibus -> ohai.
$ bundle update chef
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "ohai":
In Gemfile:
chef (~> 13.0) was resolved to 13.6.4, which depends on
ohai (~> 13.0)
omnibus was resolved to 5.5.0, which depends on
ohai (~> 8.0)
Edited by Marin Jankovski