summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-09-12 16:06:40 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-10-02 11:57:50 -0700
commit14174da833af9cdd34e93161cc7d6232e6e4fa6c (patch)
tree30b9a575964d3f3036ca10850a5afce31251fbda /lib/chef/knife.rb
parent6801b07c9a4b66984c3a45754502770fc2d835e7 (diff)
downloadchef-14174da833af9cdd34e93161cc7d6232e6e4fa6c.tar.gz
Support start_chef_zero parameter in knife and chef-client
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r--lib/chef/knife.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 9c48925216..20152a3353 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -170,7 +170,9 @@ class Chef
subcommand_class.load_deps
instance = subcommand_class.new(args)
instance.configure_chef
+ Chef::Application.setup_server_connectivity
instance.run_with_pretty_exceptions
+ Chef::Application.destroy_server_connectivity
end
def self.guess_category(args)