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

Modifying mixlib-install gem 3.12.23 #250

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions providers/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
provides :chef_client_updater if respond_to?(:provides) # cookstyle: disable ChefModernize/RespondToProvides

def load_mixlib_install
gem 'mixlib-install', '~> 3.12'
gem 'mixlib-install', '>= 3.12.23'
require 'mixlib/install'
rescue LoadError
Chef::Log.info('mixlib-install gem not found. Installing now')
chef_gem 'mixlib-install' do
version '~> 3.12'
version '>= 3.12.23'
compile_time true if respond_to?(:compile_time) # cookstyle: disable ChefModernize/RespondToCompileTime
if new_resource.rubygems_url
clear_sources true if respond_to?(:clear_sources)
Expand Down