Chef frequently used commands collection

To run single recipe using chef-solo > chef-solo -c /opt/chef/repo/config/solo.rb -o my_cookbook::recipe To run the single reciepe in same machine > chef-apply hello.rb To generate the cookbook standard structure >…

Read more »

Understanding the chef cookbook’s README file

Problems Area – Our infrastructure has many cookbooks that aim to be reusable, primarily through encapsulating behaviour in LWRPs. This led to an explosion of LWRPs and sometimes the documentation…

Read more »