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
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.
I know that for a single script I can use the chef-client file.rb
command to run it, but how can I run a cookbook on a local machine in a similar fashion? I've tried
chef-client chef-repo
But this errors, even when using the basic 'motd' example
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.
Is this even the correct approach for developing for Opsworks with Chef?
Thanks