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

Current Status: Chef (Presented at Denver/Bould...

Current Status: Chef (Presented at Denver/Boulder Cloud Meetup)

These are the slides I used for the Chef presentation at the Denver/Boulder Cloud meetup on 5/24/2012. For more comprehensive details on the upcoming features of Chef, see Chris Brown's talk from ChefConf:

http://www.youtube.com/watch?v=Lv89JG81-9M&feature=plcp

Joshua Timberman

May 25, 2012
Tweet

More Decks by Joshua Timberman

Other Decks in Technology

Transcript

  1. Clients • /opt/chef • Ruby 1.9 • Includes the most

    common knife plugins • Native packaging formats • A single command to install
  2. Chef Clients • Ubuntu 10.04, 11.04, 11.10, 12.04 • Red

    Hat Enterprise Linux 5, 6 (plus derivatives) • Debian Stable • Windows 2003R2, 2008 • Solaris 9+ (on x86 and SPARC) • You can help us add more!
  3. Open Source Chef Server • Single package • /opt/chef-server •

    Single configuration file • chef-server-ctl • Service management • Single-configuration file
  4. Private Chef • Single package • /opt/opscode • Single configuration

    file for the entire infrastructure • private-chef-ctl • Service control • Built-in testing • High Availability
  5. Providers and Resources • Providers are state machines that move

    Resources from "current" to "desired" states by taking a default or user-selected action. • "Why-run" and Reporting both benefit from knowing and comparing these states.
  6. What you get... • Serial and complete analysis of prerequisites

    defined in recipes • best effort in state differences • clear indications of what actions would be taken and why at a useful level of abstraction
  7. What you don't get... • Cannot ensure complete safety in

    "why-run" or during a real run • Cannot meet "hidden" expectations • Environment at time of "why-run" may differ greatly from actual run time • No "free" implementation in user- written providers
  8. Private Chef • Supported, behind your firewall Chef Server. •

    HA capable. • Simple installation. • Enterprise class.
  9. Chef is Open Source • Apache v2 Software License •

    Over 720 individuals, 130 companies • Chef, Ohai, Cookbooks, and dozens of software projects (plugins, mixlibs and more)
  10. Application Deployment... application "myapp" do path "/opt/myapp" repository "git://github.com/myapp/myapp.git" revision

    "2.0-stable" packages ["build-essential", "git"] rails do gems ["bundler","passenger"] database do database "myapp" username "myapp" password "awesome_password" end database_master_role "myapp_database_master" end passenger_apache2 do server_aliases ["myapp", "myapp.#{node['domain']}"] end end
  11. Heartbeat Configuration... heartbeat "heartbeat" do auto_failback true autojoin "other" search

    node['heartbeat']['config']['search'] authkeys "your favorite authkey" interface "eth0" resources "192.168.17.100" end