summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-11-12 12:42:27 -0800
committerGitHub <noreply@github.com>2020-11-12 12:42:27 -0800
commitfce94f2f1724bfee67e51470dbfd7134090e7359 (patch)
tree966d4f0d6c86c9a51b42efe9a1a8480238f2d410
parent202ce667ee9ca86d76a8bb416b448a0d8a47c1fa (diff)
parent423ca63a02869e1ab9bd346c92b8b3b4c8d486ad (diff)
downloadchef-fce94f2f1724bfee67e51470dbfd7134090e7359.tar.gz
Merge pull request #10638 from chef/VSingh/require-net-ssh
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/knife/bootstrap.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index 8b598429d3..1550c62dc1 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -407,6 +407,7 @@ class Chef
deps do
require "erubis" unless defined?(Erubis)
+ require "net/ssh" unless defined?(Net::SSH)
require_relative "../json_compat"
require_relative "../util/path_helper"
require_relative "bootstrap/chef_vault_handler"