diff --git a/providers/default.rb b/providers/default.rb index ff4217c..0146c89 100644 --- a/providers/default.rb +++ b/providers/default.rb @@ -28,8 +28,6 @@ provides :chef_client_updater if respond_to?(:provides) # cookstyle: disable ChefModernize/RespondToProvides -unified_mode true if respond_to?(:unified_mode) - def load_mixlib_install gem 'mixlib-install', '~> 3.12' require 'mixlib/install' diff --git a/resources/default.rb b/resources/default.rb index 926d86b..cea954c 100644 --- a/resources/default.rb +++ b/resources/default.rb @@ -24,6 +24,8 @@ provides :chef_client_updater +unified_mode true if respond_to?(:unified_mode) + actions [:update] default_action :update