summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core/bootstrap_context.rb
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2014-03-18 17:11:02 -0400
committerBryan McLellan <btm@opscode.com>2014-03-19 15:19:58 -0400
commitbede61006565a284d07edc02c2f92455496a04ad (patch)
treeeb499a0d92e77837b2109ebc3d9caba514f14be1 /lib/chef/knife/core/bootstrap_context.rb
parent07eb149b4926d4c5835485f028ed5e0a6e57e988 (diff)
downloadchef-bede61006565a284d07edc02c2f92455496a04ad.tar.gz
CHEF-3698: Do not set log_level by default
The default log level for Chef 10 was "info" but on Chef 11 it is "auto" which does not work on Chef 10. This prevents you from bootstrapping a Chef 10 node from a Chef 11 workstation. We can leave out log_level and Chef will use the built in defaults.
Diffstat (limited to 'lib/chef/knife/core/bootstrap_context.rb')
-rw-r--r--lib/chef/knife/core/bootstrap_context.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb
index e1ad606c80..009b4b08cb 100644
--- a/lib/chef/knife/core/bootstrap_context.rb
+++ b/lib/chef/knife/core/bootstrap_context.rb
@@ -62,7 +62,6 @@ class Chef
def config_content
client_rb = <<-CONFIG
-log_level :auto
log_location STDOUT
chef_server_url "#{@chef_config[:chef_server_url]}"
validation_client_name "#{@chef_config[:validation_client_name]}"