summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-11-12 15:18:24 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-11-12 15:18:24 +0530
commit423ca63a02869e1ab9bd346c92b8b3b4c8d486ad (patch)
tree366d1cfe7079b04b2bed0f92725b20f4410fbe15
parent84c6e6f6561230ab178fac8eb7fc9f944c985944 (diff)
downloadchef-VSingh/require-net-ssh.tar.gz
require net/sshVSingh/require-net-ssh
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-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"