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

chef: a test driven tour

Avatar for mo khan mo khan
October 21, 2015

chef: a test driven tour

Avatar for mo khan

mo khan

October 21, 2015
Tweet

More Decks by mo khan

Other Decks in Technology

Transcript

  1. – mo “chef provisions servers and makes sure that software

    is installed and properly configured.”
  2. chef | rails berkshelf bundler chefspec rspec test-kitchen capybara knife

    bin/rails https://supermarket.chef.io/ https://rubygems.org/
  3. gem server cookbook • CentOS • ruby • nginx •

    start the gem server using foreman • environment variables
  4. TK Cheat Sheet • kitchen list: show list of test

    instances. • kitchen login: ssh session to a test instance. • kitchen converge: sync changes from disk and run chef on the test instance. • kitchen verify: sync changes from disk and run tests. • kitchen destroy: destroy the test instance. • kitchen test: converge, verify, destroy