summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-05-26 12:14:55 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-05-26 12:14:55 -0700
commit70a5a2b23317887fbdd1e3e6ac580f440a666cac (patch)
tree0e5efeb8911f2677426c10fc1491a01562eaffdc /lib/chef/config.rb
parent83b2686a59e637f7ac9888b7e370a4b5a7fc59e8 (diff)
downloadchef-70a5a2b23317887fbdd1e3e6ac580f440a666cac.tar.gz
Add "knife serve" to serve up chef repo in chef-zero
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 66dd4cc77e..d884aabc3d 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -307,6 +307,7 @@ class Chef
config_strict_mode true
default(:enabled) { Chef::Config.local_mode }
default :port, 8889
+ default :host, 'localhost'
end
default :chef_server_url, "https://localhost:443"