$30 off During Our Annual Pro Sale. View Details »

What is the Chef Development Kit

What is the Chef Development Kit

A very, very brief "What's the ChefDK?" presentation used in conjunction with https://www.youtube.com/watch?v=ylOQr-0wBjk.

Martin Smith

January 15, 2015
Tweet

More Decks by Martin Smith

Other Decks in Technology

Transcript

  1. Chef
    Development Kit
    martinb3

    View Slide

  2. What is chef-dk?

    View Slide

  3. Features
    - Chef, Berkshelf, Test-Kitchen, ChefSpec, Foodcritic
    - Just a new command… chef!
    - Omnibus-chef magic packaging

    View Slide

  4. Getting chef-dk
    https://downloads.chef.io/chef-dk/
    Get the package for your OS, install it.
    Note: Some dependencies may be required.

    View Slide

  5. chef.io

    View Slide

  6. Running it
    $(chef shell-init bash)
    $(rbenv init -) or rvm use 2.1.2
    link '/opt/rbenv/versions/chefdk' do
    to '/opt/chefdk/embedded'
    end

    View Slide

  7. chefs all the way down
    - chef generate
    - chef gem
    - chef exec
    - chef install
    - chef push
    - chef exec
    https://github.com/opscode/chef-dk#the-chef-command
    https://docs.chef.io/#chef-dk-title

    View Slide

  8. chef generate
    $ chef generate cookbook chefdk-demo

    View Slide