We’ve just released Chef Zero 4.1.0. This release adds support for socketless in-memory requests. Along with a corresponding change to chef-client, this lets you run Chef Client and Knife in local mode without binding to a port—requests get routed directly to Chef Zero in-memory. By default, all requests to the local mode server will use this mechanism, though for compatibility reasons, Chef Zero will still bind to a port by default. To disable networking for the Chef Zero server, you can use the
--no-listen command line flag or set
listen false in your config file.
The Chef Client change is expected to ship in the next feature release of Chef Client (12.3.0). You can follow our progress on the Chef Client portion of the patch here: https://github.com/chef/chef/pull/3160