Useful Chef commands

Here is my shortcut list for some of the chef commands. Not all of these work in AWS opsworks. Generating cookbooks named apache chef generate cookbook cookbooks/apache   Generating recipes named server.rb   chef generate recipe cookbooks/apache/ server Check syntax of recipe   chef exec ruby -c cookbooks/apache/recipes/server.rb Run Recipe Read more…