diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-05-25 12:57:08 -0500 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-05-25 12:57:08 -0500 |
commit | d63974c1abb21933e1da00d29496fb0c0e914654 (patch) | |
tree | 263ac90c6abb93910671ae5e975a3ff18345f0dd | |
parent | 29bea245bee7af04e01b12890cdfe54a34c29bbf (diff) | |
download | chef-d63974c1abb21933e1da00d29496fb0c0e914654.tar.gz |
Change the default listen mode to false.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r-- | lib/chef/application/client.rb | 2 | ||||
-rw-r--r-- | lib/chef/application/knife.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index c8dbd76019..3765821993 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -286,7 +286,7 @@ class Chef::Application::Client < Chef::Application option :listen, :long => "--[no-]listen", :description => "Whether a local mode (-z) server binds to a port", - :boolean => true + :boolean => false option :fips, :long => "--[no-]fips", diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb index 521011348f..6a09427ccd 100644 --- a/lib/chef/application/knife.rb +++ b/lib/chef/application/knife.rb @@ -132,7 +132,7 @@ class Chef::Application::Knife < Chef::Application option :listen, :long => "--[no-]listen", :description => "Whether a local mode (-z) server binds to a port", - :boolean => true + :boolean => false option :version, :short => "-v", |