Information Technology Reference
In-Depth Information
$
chef-zero --port 9501
NOTE
You can run
chef-zero
in “daemonized” mode by passing in the
--daemon
parameter.
Chef-zero
will detach itself from the current command line process and run in the back-
ground.
listening, not returning to the command prompt. This is why we recommend running it in a
separate window. Leave
chef-zero
running for now.
Figure 11-1. Run chef-zero in a window alongside your cookbook
Make sure that the
chef-playground
directory is the current working directory. Assuming
everything is configured properly, when you run
knife client list
, it should return
chef-validator
and
chef-webui
as shown in the following code block:
$
pwd
/Users/misheska/chef-playground
$
knife client list