chef cookbooks for Mac OS X version 10.7.4
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BREW
RUBYGEMS
README.md

README.md

Chef Cookbook

========

Install gems

  • chef

  • knife-solo

       gem install chef 
       gem install knife-solo
    

Setting knife.rb

     mkdir ~/.chef
     emacs ~/.chef/knife.rb

Create Cookbook

     knife create cookbook PHP
     cd your_cookbook_path/PHP

Setting solo.rb

     emacs ~/.chef/solo.rb

Setting chef.json

     emacs ~/.chef/chef.json

Run chef-solo

     sudo chef-solo -c ~/.chef/solo.rb -j ~/.chef/chef.json