From 66b763696106bbe93ec9c39d01bcac054a676455 Mon Sep 17 00:00:00 2001 From: mwrock Date: Tue, 8 Sep 2020 13:45:42 -0700 Subject: [PATCH] move ssh/multi require into deps do Signed-off-by: mwrock --- lib/chef/knife/cloud/chefbootstrap/bootstrap_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/knife/cloud/chefbootstrap/bootstrap_options.rb b/lib/chef/knife/cloud/chefbootstrap/bootstrap_options.rb index df38b05..b53cd66 100644 --- a/lib/chef/knife/cloud/chefbootstrap/bootstrap_options.rb +++ b/lib/chef/knife/cloud/chefbootstrap/bootstrap_options.rb @@ -17,7 +17,6 @@ # limitations under the License. require "chef/knife/core/bootstrap_context" -require "net/ssh/multi" class Chef class Knife @@ -32,6 +31,7 @@ def self.included(includer) require "chef/json_compat" require "tempfile" unless defined?(Tempfile) require "net/ssh" unless defined?(Net::SSH) + require "net/ssh/multi" require "chef/knife/ssh" Chef::Knife::Ssh.load_deps end