summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-05-12 11:33:20 -0700
committersersut <serdar@opscode.com>2014-05-12 11:33:20 -0700
commit4e49dc5ecf49df99eb9ad08b7f118b3f438fe09f (patch)
treeb22994873c00f4c556c9e001b9aaec4a5d1ea0b5
parent5d1339cd07b9326ab446a92f95ac12f664e61c0e (diff)
downloadchef-4e49dc5ecf49df99eb9ad08b7f118b3f438fe09f.tar.gz
require chef/mixin/command in Knife::Ssh to solve below error:
bundle exec knife bootstrap 127.0.0.1 Connecting to 127.0.0.1 ERROR: knife encountered an unexpected error This may be a bug in the 'bootstrap' knife command or plugin Please collect the output of this command with the `-VV` option before filing a bug report. Exception: NameError: uninitialized constant Chef::Mixin::Command
-rw-r--r--lib/chef/knife/ssh.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb
index d32b3309ed..4edc63d8d3 100644
--- a/lib/chef/knife/ssh.rb
+++ b/lib/chef/knife/ssh.rb
@@ -30,6 +30,7 @@ class Chef
require 'chef/exceptions'
require 'chef/search/query'
require 'chef/mixin/shell_out'
+ require 'chef/mixin/command'
require 'mixlib/shellout'
end