Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Opscode Chef

Opscode Chef

Presentation presented in November 2012

San Diego DevOps

November 21, 2012
Tweet

More Decks by San Diego DevOps

Other Decks in Technology

Transcript

  1. What is Chef? •  Infrastructure automation framework •  Supports systems

    and cloud •  Infrastructure as Code -  Abstract definitions (cookbooks and recipes) -  Defined library and primitives -  Ruby based providing flexibility •  TIMTOWTDI -  Framework does not tell sysadmins how to manage infrastructure •  Apache 2.0 Licensed © Copyright 2012 OneHealth Solutions, Inc 9/19/13 2
  2. Chef Components Chef Server Central hub for cookbooks, policies, node

    data REST API – Knife and Client Endpoint Manager - Web Interface Nodes (Virtual or Physical) Chef Client - performs all of the steps required to bring the node into the expected state Ohai - detect certain properties about a node’s environment © Copyright 2012 OneHealth Solutions, Inc 9/19/13 4
  3. Chef Components Workstation(s) Knife - Command-line tool that provides an

    interface between a local Chef repository and the Chef server. Repository - The location in which the following data objects are stored: -  Cookbooks (including recipes, versions, cookbook attributes, resources, providers, libraries, and templates) -  Roles -  Data bags -  Environments -  Configuration files (for clients, workstations, and servers) Chef Solo - Chef Shell (shef) - IRB-like chef console © Copyright 2012 OneHealth Solutions, Inc 9/19/13 5
  4. Chef Related Projects •  Cookbook Workflow Management -  http://berkshelf.com/ - 

    https://github.com/jonlives/knife-spork -  https://github.com/applicationsonline/librarian -  https://github.com/mattray/spiceweasel •  Cookbook Testing -  http://acrmp.github.com/foodcritic/ -  https://github.com/customink/fauxhai -  https://rubygems.org/gems/test-kitchen -  http://www.cucumber-chef.org/ -  https://github.com/acrmp/chefspec -  https://rubygems.org/gems/minitest-chef-handler © Copyright 2012 OneHealth Solutions, Inc 9/19/13 7
  5. Chef Related Projects •  Continuous Delivery -  http://community.opscode.com/cookbooks/artifact -  http://community.opscode.com/cookbooks/metarepo

    •  This is work in progress •  Knife Community Plugins http://wiki.opscode.com/display/chef/Community +Plugins -  Ssh -  tmux -  Cloud management: euca, openstack, ec2, etc. © Copyright 2012 OneHealth Solutions, Inc 9/19/13 8
  6. Chef Related Projects •  Vagrant -  http://www.vagrantup.com/ -  https://github.com/jedi4ever/veewee - 

    https://github.com/opscode/bento -  https://github.com/BIAINC/vagrant-windows •  Sensu -  http://www.sonian.com/cloud-monitoring-sensu/ •  SaaS: Right Scale, Engine Yard © Copyright 2012 OneHealth Solutions, Inc 9/19/13 9
  7. Chef Resources •  Opscode Resources -  http://www.opscode.com/chef/ -  http://wiki.opscode.com/ - 

    http://docs.opscode.com/ -  http://community.opscode.com/ •  Community Resources -  http://foodfightshow.org/ •  Recent Chef Videos -  http://www.youtube.com/watch?v=GG1IKp2H4uE -  http://www.youtube.com/watch?v=h_IEfNklzW4 © Copyright 2012 OneHealth Solutions, Inc 9/19/13 10