Whilst the documentation around the knife bootstrap command is brilliant, I learn better by example/doing, so here's an example of the syntax I use when bootstrapping new nodes within my infrastructure. There are variants to this which don't use the password in the command line, and there are certainly pre-requisites that need to be satisfied before you can just go ahead and … [Read more...] about Chef Knife Node Bootstrap Example Command
Examples
Looping through Attributes within Chef Recipes
In a quest to make it easier for myself and others to modify my Chef recipes, I thought it was about time I started to use attributes much more seriously than I had been doing previously. Soon enough, I needed to loop through a hash of attributes in order to make my recipe's code as clean and efficient as possible, and if you are relatively new to Chef then you might find … [Read more...] about Looping through Attributes within Chef Recipes