Getting Started with Chef – Part 1

In part one we’re going to write a chef cookbook (that does nothing) and get it tested in a local virtual environment.

Install a ruby 

$ rvm install 2.4; rvm use 2.4

Install berkshelf temporarily 

$ gem install berkshelf

Create our cookbook 

$ berks cookbook fts-nginx
$ cd fts-nginx

Edit Gemfile generated by berkshelf command

source 'https://rubygems.org'

gem 'test-kitchen'
gem 'bundler'
gem 'berkshelf'
gem 'kitchen-vagrant'
$ gem install bundler
$ bundle install

Add test-kitchen boilerplate

$ kitchen init
$ kitchen test ubuntu

In the next installment we’ll make our cookbook actually do something useful along with unit and integration testing.

T-Fal Nonstick Fry Pan

This is a great nonstick pan regardless of cost, it’s also one of the least expensive. The surface quality and durability are excellent. At this price it’s easy to do what you should and get a new nonstick pan every year or so. There’s one caveat – some people might call it a feature – the surface of the pan is very slightly convex. It’s nearly impossible to fry anything with just a few drops of oil as any liquid flows to the side of the pan. Some calorie- or fat-sensitive people might think this is great, but for me it has me reaching for the All-Clad more often.