How to create simple chef cookbooks to manage infrastructure on ubuntu. nano ~/chef-repo/cookbooks/apt/recipes although this was a very simple example that. The engine yard cloud stack that we provide is carefully provisioned and controlled by chef cookbooks. this main collection of chef recipes will set everything up on your instances for you whenever any of the following events happen:. Creating your first chef cookbook. the php recipe is now done! view an example of the php.rb file here. ensure that your chef server contains the updated cookbook.
Writing your first chef recipe apr 18, 2011. a cookbook is a collection of related recipes. for example, the mysql cookbook might include two recipes,. Chapter 4. write your first chef recipe create a directory structure for your code since we will be writing a lot of code over the remainder of this book, let. How to write a good chef cookbook. all that has to be done in the naive implementation is to create a default recipe, cookbook syslog_ng_app in the example.
0 komentar:
Posting Komentar