Monthly Archives: March 2017

kitchen test

  1. bundle init – this will add a new file named “Gemfile”
  2. vim Gemfile
    1. Add test-kitchen
    2. Add kitchen-vagrant
    3. Add berkshelf
    4. Add librarian-chef
  3. bundle install
  4. kitchen init
  5. vim .kitchen.yml
    1. remove centos
    2. edit chef_solo to chef_zero
  6. bundle – unnecessary
  7. berks init
    1. resolve conflicts
      1. chefignore
      2. .kitchen.yml
  8. kitchen setup – not quite here
  9. edit .kitchen.yml
    1. add “verifier” (name = inspect, sudo = true)
  10. edit Gemfile
    1. add entry for “kitchen-inspec”
    2. bundle install
  11. Add test case – test/
  12. berks
  13. kitchen test

– manzoor