Chef Commands Line Reference | Chef Commands Line Guide | Cheatsheet

chef-commands-line-reference

chef-commands-line-reference

To run single recipe using chef-solo

To run the single reciepe in same machine

> chef-apply hello.rb

To generate the cookbook standard structure

To generate the template file in cookbook

To run the cookbook in local mode

To download the cookbooks from market place

To Upload the cookbooks to chef server

To bootstrap a nodes

To see the list of nodes

To edit the node run list

To see the info about each nodes

Run the cooksbooks on nodes

To add the run list to the nodes.