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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s