Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Test-driven Infrastructure with Chef

Test-driven Infrastructure with Chef

Sildes from a presentation given to Cisco Engineering, on 17th June 2013

Stephen Nelson-Smith

June 17, 2013
Tweet

More Decks by Stephen Nelson-Smith

Other Decks in Programming

Transcript

  1. Business-facing Technology-facing Support development Critique Project Acceptance Tests Unit Tests

    Integration Tests Usability Tests Exploratory Tests Load Tests Penetration Tests Monday, 17 June 13
  2. Build the right thing Business Failure Useless Crap Success Maintenance

    Nightmare Build the thing right Monday, 17 June 13
  3. Write Acceptance Tests Pass? Victory! Run Integration Tests Pass? Run

    Acceptance Tests Run Unit Tests Write Integration Tests Write Unit Tests Pass? Write Infrastructure Code Yes Yes Yes No No No Monday, 17 June 13
  4. [tdi@tk01 cisco]$ bundle install Updating git://github.com/opscode/test-kitchen.git Updating git://github.com/opscode/kitchen- vagrant.git Fetching

    gem metadata from https:// rubygems.org/....... Fetching gem metadata from https:// rubygems.org/.. Resolving dependencies... Using chefspec (1.3.1) Using gherkin (2.12.0) Using cucumber (1.3.2) ... ... ... Using kitchen-vagrant (0.10.1.dev) from git:// github.com/opscode/kitchen-vagrant.git (at provisioners) Using leibniz (0.1.0) Using bundler (1.3.5) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. Monday, 17 June 13