Using chef-shell


#1

Hi,

Following http://www.youtube.com/watch?v=Q0B-H3Qo_s4 I have been trying to
use chef-shell to run a local cookbook. After a lot of fiddling I’ve
managed to load a cookbook but chef_run just returns true and doesn’t seem
to do anything.

Can anyone point me to a current guide on using chef-shell to test
recipes?

Thanks
Rob


#2

Try run_chef

On 03/12/13 21:40, Rob Watkin wrote:

Hi,

Following http://www.youtube.com/watch?v=Q0B-H3Qo_s4 I have been trying to
use chef-shell to run a local cookbook. After a lot of fiddling I’ve
managed to load a cookbook but chef_run just returns true and doesn’t seem
to do anything.

Can anyone point me to a current guide on using chef-shell to test
recipes?

Thanks
Rob


#3

Sorry for the confusion. Although did write ‘chef_run’ in my post I had
actually been doing ‘run_chef’, see below:

chef:recipe > run_chef
=> true

On 3 December 2013 22:37, Steffen Gebert st+gmane@st-g.de wrote:

Try run_chef

On 03/12/13 21:40, Rob Watkin wrote:

Hi,

Following http://www.youtube.com/watch?v=Q0B-H3Qo_s4 I have been trying
to
use chef-shell to run a local cookbook. After a lot of fiddling I’ve
managed to load a cookbook but chef_run just returns true and doesn’t
seem
to do anything.

Can anyone point me to a current guide on using chef-shell to test
recipes?

Thanks
Rob