Chef - Part 2

  • emachnic
  • 1881 views
Hall-pass

Oops, a subscription is required to view this video. You can enroll now to watch, or try out all that Code School has to offer with a free two-day Hall Pass.

Comments

Faculty

Evan Machnic said

I think I listed apt explicitly because I needed it to run first, but I can't remember right now.

Mohamad El-Husseini said

Thanks! Evan, at 9.35 in the video, in the vagrant file, you included a recipe for apt. Why? Isn't it already part of the community nginx cookbook?

Faculty

Evan Machnic said

It does look like the third one was never published. I'll see what's up.

Mohamad El-Husseini said

Thanks Evan, this was a create screen cast. Was a third screen cast ever released in this series? You allude to this in the end, but I've not seen anything in the list.

patrickdavey said

Looking forward to the next part - great work. Would you consider providing a screencast on how you can use chef to setup a VPS (linode, Digital Ocean etc?), covering things like configuring ssh, security (failtoban, iptables etc.). That really would be super helpful!

Nathaniel Watts said

Loving the video so far! however, when trying to setup the Berksfile to use the custom nginx stuff - I get this error:

An error occurred while reading the Berksfile:

no metadata.rb or metadata.json found at /Users/watts/code/chef/code_tv_chef/cookbooks/code_tv

There is very much a metadata.rb file within that directory.

Faculty

Evan Machnic said

SWFREEMAN, in short, I use Powerline (https://github.com/Lokaltog/powerline). I've tried vim-airline and tmux-powerline as well but I figured since I was using essentially the same thing in two places that I may as well go whole hog.

The theme is Tomorrow based on base16 (https://github.com/chriskempson/base16). This is what I use for screencasts but typically use Tomorrow Night Eighties for normal development. I am finishing up a Vim/Tmux screencast so be on the lookout for that.

swfreeman said

Evan, may I ask how your config your terminal & vim? I really like the theme you're using and the status line of vim. Thanks.

Faculty

Evan Machnic said

Haha, thanks for the kind words Jordan.

Jordan B. Sanders said

Very helpful video Evan! I really don't know how you kept it together when talking about Berkshelf, haha!

About

In this second part of our Chef series, we setup an Ubuntu Linux machine using Chef, ready our local machine for development, write our first cookbook, test it, and learn some best practices.

Subscribe