summaryrefslogtreecommitdiff
path: root/lib/chef/knife/supermarket_install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/supermarket_install.rb')
-rw-r--r--lib/chef/knife/supermarket_install.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/supermarket_install.rb b/lib/chef/knife/supermarket_install.rb
index ab88170245..f47917e13d 100644
--- a/lib/chef/knife/supermarket_install.rb
+++ b/lib/chef/knife/supermarket_install.rb
@@ -24,8 +24,8 @@ class Chef
class SupermarketInstall < Knife
deps do
- require "shellwords"
- require "mixlib/archive"
+ require "shellwords" unless defined?(Shellwords)
+ require "mixlib/archive" unless defined?(Mixlib::Archive)
require_relative "core/cookbook_scm_repo"
require_relative "../cookbook/metadata"
end