DevOps
From My Admin Page
Chef
Remember, if a command doesn't work maybe you're not in the right directory!
Great tutorials at Learn Chef.
- Windows local development including how to Install Vagrant and Virtualbox for local development.
- Templates versus Cookbooks - "For now, I’ve settled on a simple rule of thumb. If it’s ASCII, it’s a template. If it’s binary, it’s a cookbook file."
Kitchen
- Kitchen is used to test cookbook data across any combination of platforms and test suites.
- To see VM's defined in a ".kitchen.yml" for a recipe : kitchen list
- To stage the Instance/image to be used: kitchen converge
- Instances are based on the list of platforms in the .kitchen.yml file. This process will install the chef-client on an instance using the omnibus installer, upload cookbook files and minimal configuration to the instance, and then start a chef-client run using the run-list and attributes specified in the .kitchen.yml file