(Read this first)
NOTE: This has been inspired from this post I made. If you want a some back ground click that link. :)
The first and foremost is that I'm writing this for Linux based OSes. I understand chef can run on Windows and OSX, but that's not what I want to focus on. So please if these commands don't make sense to you, you should probably look for another book before reading this one.
cd
ORls
ORmkdir
orgrep
vim
ORemacs
ORnano
bash
ORzsh
I'm looking to aim this at a Junior Level Linux Sysadmin, or a Intermediate Level Linux Sysadmin that needs a primer on chef. Another way to look at it, if you can pass the Linux+ you should be good for this book.
You should be able to get in and out of the editor that you choose. You should have a relatively comfortable with the command line in general. Like most technology how-to books, I want to get to the meat of the system as quickly as possible. I'm apologizing ahead of time if you are confused; most if not all should be fixed via a google search pretty easily. I am writing this to be "open-source" so if there is a place that should be fleshed out better, don't hesitated to put a comment in or hell, make a pull request and flesh it out yourself!
The first situation is the one that I came from. I started my journey with chef about 2-3 years ago, initially as a scripter then an another company as a supporter of a chef_repo
that was already way to complex. I had no idea what I was looking at and was overwhelmed. I used puppet extensively but chef just seemed baffling. I did my damnest to read all the blog posts, wiki sites, and how-tos I could find. I eventually threw up my hands and said no. If you have just been over whelmed with the chef and this video still intrigues you hopefully this book will make your journey easier. I'm writing this book to my old past self who would have KILLED for all this information in one location.
The second situation is a simpler one, you're a new Junior Linux Sysadmin (or Developer), and your team uses chef. You have no idea what you are looking at, and your boss just told you to create a new cookbook to control something. This book will walk you through you building a test environment; and hopefully the foundation to be able to confidently write a cookbook to do what your boss wants done.
The third situation is a sad but true one. You're an Intermediate Linux Sysadmin, you watched this video, realize your bash
provisioning scripts are dumb and error prone, so you've decided to take this plunge. This book should walk you through enough to be extremely dangerous, and enough to peak your interest to run with it.
1. virtualbox
2. vagrant
3. vm setup
4. omnibus install vs gem install
5. chef-solo
6. Write a simple base cookbook
7. vagrant provisioning vs local chef-solo
8. knife
10. Open Source Chef Server vs Hosted Chef Server
11. Connecting Open Source or Hosted Chef to a VM
12. Uploading your cookbook to your Chef Server
13. metadata.rb
14. Environments, Roles, oh-my
16. Berkshelf Primer
17. I know something should go here
18. I know something should go here
19. I know something should go here
22. Server Spec
23. chefspec
24. Integrating with Jenkins or CI in general
TODO: probably going to steal upgradingrails4 system. Need to play with it. I need suggestions here, pandoc looks extremely promising
Even more promising: https://github.com/schacon/git-scribe
meta: stuff for the book that isn't the book.
To everyone I bugged and poked about helping me out, thanks so much.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.