Testing of configuration management tools: unit tests and systems tests. How do you verify that your configuration management tools are running correctly? How can you verify that the system as a whole is functioning as intended?
client-server version of chef • Node: single client system being operated on • Resources: representation of system resources • Recipes: specify actions on resources • Cookbooks: modular collections of recipes • Chef Run: execution of chef against node
and some linting/ style tools (Foodcritic and Rubocop) • Could run Test-Kitchen too: • https://travis-ci.org/opscode-cookbooks/apt • Just takes more work to get going…
• (From IBM, of all things.) • http://www.ibm.com/developerworks/library/a-devops5/ • Foodcritic • Lint check for your cookbooks. • http://acrmp.github.io/foodcritic/ • Rubocop • Static analysis of your ruby code. • (Good for writing consistent code, and avoiding obvious problems.) • http://batsov.com/rubocop/