Set cookbook path in solo.rb(windows)


#1

Hi,

Please help, I am learning chef for windows. Below is what is working for me:

  1. chef-solo --config cookbook_path c:\cookbook\default.rb
  2. chef-client --local-mode default.rb (runs only from the directory which has default.rb)

however, I want to setup cookbook path in solo.rb, how do I configure solo.rb to execute default.rb? Where do I specify the path c:\cookbook in solo.rb?

thanks,


#2

Take a look at my samples over at https://github.com/nkadel/nkadel-chef-local-wrapper