Chef - How to run a cookbook locally
<p>I'm just getting started with Chef and have gone through the tutorials on their site, however everything seems to assume you'd be configuring a chef server etc. for the deploy</p>

<p>I'm currently in the process of setting up a site on AWS opsworks so I wanted to use Chef for the configuration and installing dependencies. As such I believe I just supply a path to my cookbook. Now before I launch into Opsworks I was trying to create my cookbook on an ubuntu VM and test that it installs everything correctly.</p>

<p>I know that for a single script I can use the <code>chef-client file.rb</code> command to run it, but how can I run a cookbook on a local machine in a similar fashion? I've tried</p>

<p><code>chef-client chef-repo</code> 
But this errors, even when using the basic 'motd' example</p>

<p>I've tried searching for examples, but as I say I'm new to Chef so I'm not sure if the terminology I'm searching for is correct. </p>

<p>Is this even the correct approach for developing for Opsworks with Chef?</p>

<p>Thanks</p>